Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: imcintyre on August 07, 2008, 04:10:44 PM
-
I am trying to uninstall egroupware, but am missing something. I was not unhappy with it, just not using it. I haven't used it since last upgrade.
Anyways, I used
yum remove smeserver-egroupware
Then went into phpmyadmin and deleted database.
The next day I still get the notification from server-manager;
===
=== yum reports available updates:
===
smeserver-groupoffice.noarch 2.18.1-7.el4.sme smecontribs
After uninstalling egroupware as above, I tried installing gallery2 and got the following error.
[root@myserver opt]# ls
b4rt metadot temp
dar2-mc phpmyadmin webshare
GO_RPM_BACKUP Plexpack webshare-tools
groupoffice smeserver-gallery2-2.2-3.el4.sme.noarch.rpm
[root@myserver opt]# yum --enablerepo=smecontribs install smeserver-gallery2
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-gallery2.noarch 0:2.2-3.el4.sme set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
smeserver-gallery2 noarch 2.2-3.el4.sme smecontribs 7.8 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 7.8 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-gallery2
Installing: smeserver-gallery2 ######################### [1/1]
Creating database 'gallery2' and user 'gallery2user'
Migrating existing database mailpatterns
Migrating existing database yum_updates
Migrating existing database backups
Migrating existing database dar2
Migrating existing database yum_installed
Migrating existing database domains
Migrating existing database accounts
Migrating existing database yum_available
Migrating existing database hosts
Migrating existing database configuration
Migrating existing database networks
Migrating existing database yum_repositories
Migrating existing database spamassassin
Loading 81egw_domain.sql into mysql ERROR 1049 (42000) at line 8: Unknown database 'egroupware'
[FAILED]
Sending USR1 signal to httpd-e-smith [ OK ]
=======================================================================
Gallery2 Installation finished.
go to http://mydomain.ca/gallery2
Username : admin
Password : admin
Please change the admin-password !!
=======================================================================
Migrating existing database mailpatterns
Migrating existing database yum_updates
Migrating existing database backups
Migrating existing database dar2
Migrating existing database yum_installed
Migrating existing database domains
Migrating existing database accounts
Migrating existing database yum_available
Migrating existing database hosts
Migrating existing database configuration
Migrating existing database networks
Migrating existing database yum_repositories
Migrating existing database spamassassin
smeserver trap post-install: smeserver-gallery2
Installed: smeserver-gallery2.noarch 0:2.2-3.el4.sme
Complete!
==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:
signal-event post-upgrade; signal-event reboot
You should run these commands unless you are certain that
yum made no changes to your system.
==============================================================
[root@myserver opt]#
I would like to have egroupware removed and gallery2 a clean install.
Any insight into what I have done wrong would be appreciated.
I also
-
I suspect you didn't follow the full uninstall instructions:
http://wiki.contribs.org/Egroupware#Uninstallation (http://wiki.contribs.org/Egroupware#Uninstallation)
which would have removed the MySQL DB and SME DB entries
Graham (who didn't do it either, the first time round!)
-
Well I did see that but (a) since I have phpmyadmin thought I could do it manually; (b) a little suspicious of scripts that I don't know what they really do (no offence intended)
I did try that command when the problem became evident and got this result
[root@myserver ~]# sh /root/eGW_Full_Uninstall.sh
sh: /root/eGW_Full_Uninstall.sh: No such file or directory
[root@myserver ~]#
So it seems I am stuck and any help would be appreciated.
-
Ah, that's seems to be because the documentation is incorrect. I remember having to change it myself come to think of it. Documentation says to:
sh /root/eGW_Full_Uninstall.sh
But it should tell you to:
sh /root/eGW-Full-Uninstall.sh
(underscore versus hyphen).
Graham
-
Thanks, I applied the corrected information and it worked fine. I updated the wiki also.
I owe you a beer.