Univention-mail-horde missing after upgrade to 4.3

horde

#1

startet from a working horde 5.2.7-3 app setup an upgrade to ucs 4.3,
now it seems that univention-mail-horde package is missing
also an attempt to upgrade horde-app stops with this error.
the path http(s)://my-server.com/horde is also missing now

previous upgrades/migrations of postgres to newer version and cyrus to dove worked fine, horde was still working in between. Now i’m puzzled.

console output, when starting the upgrade:

Creating data directories for horde...
Copying /var/cache/univention-appcenter/appcenter.software-univention.de/4.3/horde_20180621115801.univention-config-registry-variables
Registering UCR for horde
Marking horde=5.2.17-2 as installed
Multifile: /etc/postgresql/9.4/main/pg_hba.conf
File: /etc/univention/service.info/services/univention-appcenter.cfg
File: /usr/share/univention-portal/apps.json
Setting ports for apache proxy
Adding localhost to LDAP object
Setting overview variables
Module: create_portal_entries
Reloading apache2 configuration (via systemctl): apache2.service.
univention-postgresql wurde bereits auf manuell installiert gesetzt.
horde=5.2.17-2 already has its database
Component needs to be registered in the container
Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
E: Paket univention-mail-horde kann nicht gefunden werden.
Failed to install the App
Aborting...
Trying to revert to old version. This may lead to problems, but it is better than leaving it the way it is now
Creating data directories for horde...
Copying /var/cache/univention-appcenter/appcenter.software-univention.de/4.1/horde_20161024154423.univention-config-registry-variables
Registering UCR for horde
Marking 4.1/horde=5.2.7-3 as installed
Multifile: /etc/postgresql/9.4/main/pg_hba.conf
File: /etc/univention/service.info/services/univention-appcenter.cfg
File: /usr/share/univention-portal/apps.json
Setting ports for apache proxy
Adding localhost to LDAP object
Setting overview variables
Module: create_portal_entries
Reloading apache2 configuration (via systemctl): apache2.service.
univention-postgresql wurde bereits auf manuell installiert gesetzt.
4.1/horde=5.2.7-3 already has its database
Component needs to be registered in the container
Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
E: Paket univention-mail-horde kann nicht gefunden werden.

when i try the app-update, i get the following error:

14545 actions.upgrade.container.05d0   18-08-03 19:56:58 [ WARNING]: univention-app register: error: Unable to find version 5.2.17-2 of app horde. Maybe "/usr/bin/univention-app update" to get the latest list of applications?

docker images:

REPOSITORY                                       TAG                 IMAGE ID            CREATED             SIZE
hello-world                                      latest              4f3ac0090ba9        18 months ago       1.84 kB
docker.software-univention.de/ucs-appbox-amd64   4.1-3               039adb8ec02b        24 months ago       408 MB

so clearly, container is gone!

univention-app info:

UCS: 4.3-1 errata160
Installed: cups=2.2.1 dhcp-server=12.0 fetchmail=6.3.26 kvm=2.8 mailserver=12.0 pkgdb=11.0 samba-memberserver=4.7 uvmm=7.0 4.1/horde=5.2.7-3
Upgradable: horde

app is still registered!

any suggestions on how to get that image?

found an inspiration in another post:
univention-app remove horde
univention-app install horde

this did the trick. Now, new version of horde is installed, all data again accessible and container is found again.

OK, i was too optimistic. for once i was able to login, but now after login-screen, i get frequently kicked out:

Not Found

The requested URL /horde/login.php was not found on this server.

i tried to search log file in base system and container image, but no success.
What could be the reason?


#2

/horde is provided through a reverse proxy (see After Upgrade to 4.3-1: driver for horde_auth not found). I’d check if docker-proxy and the container itself is running. Theres also a /var/log/docker.log.


#3

output of:
udm settings/portal_entry list --filter=cn=horde
looks good, settings are linking /horde to IP-adress and domain name, but not 127.0.0.1 - is that sufficient?

output of:
grep -i horde /etc/apache2/sites-enabled/*
is exactly as yours

output of :
netstat -tulpen |grep 4000
dito, the same

/var/log/docker.log
=> seems to be outdated, last log entry there dates back to 2017…?
i’m sure, docker is running.
In the meantime, i tried to lift up php.ini mem* and exec*-limits, i remember i had to do that with the old horde install as well. Still no sucess.
The fallback to apache 404 page happens not every time, which is strange. Sometimes i can log in, do a few things and then i’m out.

found /var/log/horde.log inside the docker container:
2018-08-03T23:27:57+02:00 EMERG: This system is currently deactivated. [pid 27304 on line 549 of “/usr/share/php/Horde/Registry.php”]

the message is repeated often, probably for every login attempt
Where to register the app?