By: Jordan Hollinger user 29 Jul 2015 at 11:21 a.m. CDT

15 Responses
Jordan Hollinger gravatar
While troubleshooting another problem, I thought updating gluu-server might help. I am currently running 2.3.0-1, and tried updating to 2.3.1-1. The upgrade fails with: `Preparing to unpack .../gluu-server_2.3.1-1_amd64.deb ... Checking if Gluu Server is running in order to do backup... dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... Checking if Gluu Server is running in order to do backup... dpkg: error processing archive /var/cache/apt/archives/gluu-server_2.3.1-1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/gluu-server_2.3.1-1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)` I thought I might try an uninstall and re-install, following the instructions in http://www.gluu.org/docs/admin-guide/deployment/ubuntu/#uninstallation. `apt-get remove gluu-server` fails with: `Removing gluu-server (2.3.0-1) ... Checking if Gluu Server is running in order to do backup... dpkg: error processing package gluu-server (--remove): subprocess installed pre-removal script returned error exit status 1 Errors were encountered while processing: gluu-server E: Sub-process /usr/bin/dpkg returned an error code (1)` And `dpkg --purge --force-all gluu-server` fails with: `Removing gluu-server (2.3.0-1) ... Checking if Gluu Server is running in order to do backup... dpkg: error processing package gluu-server (--purge): subprocess installed pre-removal script returned error exit status 1 Errors were encountered while processing: gluu-server`

By William Lowe user 29 Jul 2015 at 11:51 a.m. CDT

William Lowe gravatar
Hey Jordan, We've noticed this bug as well. We're releasing a fix for it by Monday, 8/3. Sorry about the inconvenience. I'll keep the ticket open for now and update it when the new release is published. Thanks!

By Jordan Hollinger user 03 Aug 2015 at 1:13 p.m. CDT

Jordan Hollinger gravatar
Looks like 2.3.2-2 out and I'm getting the same errors.

By Jordan Hollinger user 03 Aug 2015 at 1:25 p.m. CDT

Jordan Hollinger gravatar
Same steps as the original post. Then I was trying to upgrade from 2.3.0-1 to 2.3.1-1. Now I'm trying to upgrade from 2.3.0-1 to 2.3.2-2.

By Aaron Watson user 03 Aug 2015 at 3:54 p.m. CDT

Aaron Watson gravatar
I'm also running into the same issue uninstalling gluu server 2.3.1-1. What is the process to follow? Upgrade to 2.3.2-2 and then uninstall?

By Aaron Watson user 03 Aug 2015 at 4:24 p.m. CDT

Aaron Watson gravatar
Just tried to upgrade to 2.3.2-2 and got: > Errors were encountered while processing: > /var/cache/apt/archives/gluu-server_2.3.2-2_amd64.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) Next steps??

By Jordan Hollinger user 03 Aug 2015 at 4:49 p.m. CDT

Jordan Hollinger gravatar
I ran setup.py during the initial install. Should I have run it again later?

By Aaron Watson user 04 Aug 2015 at 12:03 p.m. CDT

Aaron Watson gravatar
I ran the commands as suggested: > rm -rf /var/lib/dpkg/info/gluu-* > dpkg -r gluu-server Then I installed the latest version and ran ./setup.py. All completed without error. Now I navigate to https://ce.gluu.info/ and it redirects me to https://ce.gluu.info/identity/ which is an empty page (404).

By Jordan Hollinger user 04 Aug 2015 at 3:35 p.m. CDT

Jordan Hollinger gravatar
I ran the above commands as well. Everything seems to be running fine, but the new admin password doesn't work, so I'm essentially locked out.

By brandon theis user 04 Aug 2015 at 3:55 p.m. CDT

brandon theis gravatar
Greetings, gluu-server_2.3.2-2_amd64.deb on ubuntu14.04 under xen everything _appears_ to install clean but no gui on https *trying fresh everything with all defaults will update the thread

By Mohib Zico staff 04 Aug 2015 at 4:09 p.m. CDT

Mohib Zico gravatar
Hello Gentlemen, I couldn't reproduce any issue with 'installation'. It went well for me and I can login with my admin credential. However, there is some problems with uninstallation. Here is the ticket: [https://github.com/GluuFederation/community-edition-setup/issues/49](https://github.com/GluuFederation/community-edition-setup/issues/49) I would request you to clean your VM / better get a new VM and try to install your Gluu Server. Hopefully you won't face https error/blank page. Regarding update: we will test again when the uninstallation issue is resolved. Stay tuned, Zico

By Jordan Hollinger user 04 Aug 2015 at 4:49 p.m. CDT

Jordan Hollinger gravatar
I think re-installation is the problem. Always works on a clean VM, but if I re-install and re-run setup.py, things aren't quite right. I'll wipe the VM and re-install fresh as it's not a production VM. But if it were our SSO solution would apparently be hosed, which is disconcerting.

By Aaron Watson user 12 Aug 2015 at 5:32 p.m. CDT

Aaron Watson gravatar
I'm still seeing this uninstall issue on 2.3.2-2: > root@cims:~# apt-get remove gluu-server Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: gluu-server 0 upgraded, 0 newly installed, 1 to remove and 55 not upgraded. After this operation, 1,269 MB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 88366 files and directories currently installed.) Removing gluu-server (2.3.2-2) ... Checking if Gluu Server is running in order to do backup... dpkg: error processing package gluu-server (--remove): subprocess installed pre-removal script returned error exit status 1 dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: gluu-server E: Sub-process /usr/bin/dpkg returned an error code (1) How can I clean my machine so that I can re-install? Building a new VM will take 2-3 days due to current security hoops I must jump through in my org...

By hudson solomon user 19 Aug 2015 at 5:58 a.m. CDT

hudson solomon gravatar
I am also facing these errors previously then after i solved using following steps. 1. stop gluu-server service ( if it is running ) 2. delete installation folder of gluu server ( opt--->gluuserver ) 3. delete etc--->init.d---> gluu-server file 4. now u run mv /var/lib/dpkg/info/gluu-server.* /tmp/ 5. dpkg --remove --force-remove-reinstreq gluu-server 6. apt-get --purge remove gluu-server 7. Now u can install gluu server as a fresh one( dpkg -i <debian File>)

By William Lowe user 19 Aug 2015 at 10:30 a.m. CDT

William Lowe gravatar
We're still working on getting apt-get upgrade to work properly. If possible, re-install on a fresh VM for the newest release (2.3.3). Stay tuned for progress on update.

By Mohib Zico staff 24 Aug 2015 at 6:01 a.m. CDT

Mohib Zico gravatar
Hello Guys, Gluu Server 2.3.3 should have no problem with installation, uninstallation and upgradation. Please check [this](https://support.gluu.org/view/maintenance/gluu-upgrade/2067#6pfvSe bS92wAncWPrImLw) ticket.