Koozali.org: home of the SME Server

Having problem installing group-office on SME 7.0RC1

Offline Thomas

  • ***
  • 65
  • +0/-0
Having problem installing group-office on SME 7.0RC1
« on: March 31, 2006, 04:55:22 AM »
I am trying to install group-office from www.group-office.org on SME 7.0RC1.  I installed phpmyadmin and used it to create a new database named groupoffice, added a new user in mysql named grpoffice with password office.  The server's ip address is 192.168.1.6.  When I run 192.168.1.6/ibayname/install/install.php I do ok until I get to the page where I am suppost to connect with the database I just created.  I used the following to try and login to mysql:

host          192.168.1.6
database   groupoffice
username  grpoffice
password   office

I get the message "Failed to connect to database"  Any ideas as to what I'm doing wrong?  Anyone else installed this program on this version of SME server?

Thanks,
Thomas

Offline JonB

  • *
  • 351
  • +0/-0
Having problem installing group-office on SME 7.0RC1
« Reply #1 on: March 31, 2006, 05:25:04 AM »
In hostname try using localhost instead of the ip address

Jon
...

Offline Thomas

  • ***
  • 65
  • +0/-0
Having problem installing group-office on SME 7.0RC1
« Reply #2 on: March 31, 2006, 06:36:32 AM »
That worked!  Now I'm stumped at another page.  I did what it said to do but I get an error message (at the top of the text below).  This is the text on that page:

The path you entered is not writable.
Please correct this and try again.

 Group-Office needs a place to store user data. Create a writable path for this purpose now and enter it in the box below.
The path should be have 0777 permissions or should be owned by the webserver user. You probably need to be root to do the last.
Also enter a maximum number of bytes to upload and a valid octal value for the file permissions.

$ su
$ mkdir /home/groupoffice
$ chown apache:apache /home/groupoffice


 Group-Office needs a place to store that is available through a webbrowser so please provide the URL to access this path too.

$ su
$ mkdir /home/e-smith/files/ibays/groupoffice/html/local/
$ chown apache:apache /home/e-smith/files/ibays/groupoffice/html/local/

 
Group-Office needs a place to store temporarily data such as session data or file uploads. Create a writable path for this purpose now and enter it in the box below.
The /tmp directory is a good option.

Offline Thomas

  • ***
  • 65
  • +0/-0
Having problem installing group-office on SME 7.0RC1
« Reply #3 on: April 03, 2006, 12:16:01 AM »
Anyone?  Need help with this one!

paul_sc

Having problem installing group-office on SME 7.0RC1
« Reply #4 on: April 03, 2006, 02:34:35 AM »
I think the url you listed above has changed. is this correct?

http://www.group-office.com/index.php?folder_id=1&file_id=417
Group-Office community
Group-Office is an open-source program distributed under the terms of the GNU General Public License. Group-Office has a growing Open-Source community that supports Group-Office. You can interact with this community in various ways.

Kydoimus

Having problem installing group-office on SME 7.0RC1
« Reply #5 on: April 06, 2006, 12:51:45 PM »
I got this from the forum:

Quote
The path must be owned by the web-user. At debian it is user: www-data and group: www-data. Others I don't know.


I have the same problem as you after the install.

can anybody tell me what the webuser is at SME?

strombergtec

same problem
« Reply #6 on: April 08, 2006, 08:54:22 PM »
I had the same problem with the permissions page, i just bypassed it and it kind of works... chmod 777 and tried changing to chown every user to no avail!

Still cant write to those directories!
Looks like it could work with the sme ldap?


Any help would be great.

Podo

Having problem installing group-office on SME 7.0RC1
« Reply #7 on: May 07, 2006, 04:35:04 PM »
I did a fresh install of Group-Office in a new ibay called 'office'. For the user data files I use the 'files directory' in the same ibay. Seems to work. I just uploaded a file.

Offline Stack A Brown

  • **
  • 23
  • +0/-0
GroupOffice 2.17.3-6
« Reply #8 on: July 27, 2007, 09:55:56 PM »
I found the procedure to install GroupOffice in this page
Code: [Select]

http://wiki.contribs.org/GroupOffice


But, I tried to Install and send errors and the page not work

This is the log

Code: [Select]

[root@imsa ~]# yum localinstall smeserver-groupoffice-2.17.3-6.noarch.rpm
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examining smeserver-groupoffice-2.17.3-6.noarch.rpm: smeserver-groupoffice - 2.17.3-6.noarch
Marking smeserver-groupoffice-2.17.3-6.noarch.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-groupoffice.noarch 0:2.17.3-6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 smeserver-groupoffice   noarch     2.17.3-6         smeserver-groupoffice-2.17.3-6.noarch.rpm  6.2 M

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 6.2 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
smeserver trap pre-install: smeserver-groupoffice
  Installing: smeserver-groupoffice        ######################### [1/1]
Untar the application to /opt/groupoffice
Creating database 'goffice' and user 'gofficeuser'
Migrating existing database yum_installed
Migrating existing database accounts
Migrating existing database yum_available
Migrating existing database domains
Migrating existing database spamassassin
Migrating existing database networks
Migrating existing database backups
Migrating existing database configuration
Migrating existing database yum_repositories
Migrating existing database hosts
Migrating existing database yum_updates
Migrating existing database mailpatterns
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Sending USR1 signal to httpd-e-smith [  OK  ]
=======================================================================
GroupOffice Installation finished.
go to https://indmex.com.mx/groupoffice
Username       : admin
Password       : admin

Please change the admin-password !!
=======================================================================
Migrating existing database yum_installed
Migrating existing database accounts
Migrating existing database yum_available
Migrating existing database domains
Migrating existing database spamassassin
Migrating existing database networks
Migrating existing database backups
Migrating existing database configuration
Migrating existing database yum_repositories
Migrating existing database hosts
Migrating existing database yum_updates
Migrating existing database mailpatterns
smeserver trap post-install: smeserver-groupoffice

Installed: smeserver-groupoffice.noarch 0:2.17.3-6
Complete!



When tried to connect with the page show this error:
Code: [Select]
Database error: connect(localhost, gofficeuser, $Password) failed.
MySQL Error: ()
Session halted.