WebTop 5 needs testing

@wbilger, what I’ve tried:

  1. Installed webtop4
  • removed webtop4 and some remnants
  • installed webtop 5

got the same error (but logs might tie it to a different source cause, logs were showing password authentication error and non-existent sonicle role). What worked in my case was to delete webtop databases and sonicle user from postgresql, and reinstalling webtop5. Don’t know if devs will recommend against it, as I’m removing more things than really needed.

WARNING - Don’t try this in production.
This is not an upgrade path, it ditches most of webtop config/data…(make backup/snapshot beforehand)

CASE 1 - With webtop4 installed, before installing webtop5:

#----removing webtop4----
yum remove \*webtop\*
rm -rf /var/lib/tomcat/webapps/webtop

#----removing webtop database and its user----
su - postgres
dropdb webtop
dropuser sonicle
exit

#----optional: removing additional webtop4 remnants----
rm -rf /usr/share/webtop /etc/e-smith/events/nethserver-webtop4-update /etc/e-smith/templates/usr/share/webtop /etc/e-smith/templates/var/lib/tomcat/webapps/webtop /etc/e-smith/templates/etc/httpd/conf.d/webtop.conf /etc/httpd/conf.d/webtop.conf /var/lib/nethserver/secrets/webtop

#----installing webtop5----
yum --enablerepo=nethserver-testing install nethserver-webtop5

CASE 2 - If webtop4 was removed and webtop5 installed but accessing its webpage shows the error you mentioned earlier:

#----removing webtop databases and its user----
su - postgres
dropdb webtop
dropdb webtop5
dropuser sonicle
exit

#----reinstalling webtop5----
yum --enablerepo=nethserver-testing reinstall nethserver-webtop5

There must be a better way to get rid of the error, till then…

2 Likes