App Update Center Fails on 4.2 after Install of SuiteCRM

appcenter
ucs-4-2

#1

Post upgrade from 4.1 errata 408 to 4.2

Installed SuiteCRM

After installation, clicking OPEN shows Apache INTERNAL SERVER ERROR.

A reboot of the server and subsequent login indicates there is an update availabe in the Software Center, however, the status shows: There are App Center updates available.
%(name)s: Version %(old)s can be updated to %(new)s after background processes run.


#2

I think this problem needs additional information from the logs, especially from /var/log/apache2/access.log, /var/log/apache2/error.log and /var/log/univention/appcenter.log. Please post only lines from the time of the error.


#3

None of the logs are reporting errors or details for the time frames (using tail -f /var/log/ … to view) when accessing or refreshing the web portal view.

I’ve removed SuiteCRM from the installed application, however, that hasn’t corrected the issue.

In patching to errata 2, the logs did complain about a python script not able to connect to a postgres db. It wasn’t specific on details. Is there a possibility these are related?


#4

We might have a chance to help if you could post the lines from the log.


#5

Perhaps it is related. Here is the section from the update.log:

Preparing to unpack .../univention-errata-level_4.2.0-1_all.deb ...
Unpacking univention-errata-level (4.2.0-1) over (4.2.0-0A~4.2.0.201702011455) ...
Setting up univention-errata-level (4.2.0-1) ...
Setting version/erratalevel
File: /etc/lsb-release
File: /etc/apt/apt.conf.d/55user_agent
Traceback (most recent call last):
  File "/usr/sbin/univention-pkgdb-scan", line 37, in <module>
    univention.pkgdb.main()
  File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 578, in main
    connection = open_database_connection(config_registry, pkgdbu=False)
  File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 560, in open_database_connection
    connection = pgdb.connect(database=connectstring)
  File "/usr/lib/python2.7/dist-packages/pgdb.py", line 482, in connect
    dbtty, dbuser, dbpasswd)
pg.InternalError: could not connect to server: Connection refused
        Is the server running on host "ucs-9410" (10.0.1.236) and accepting
        TCP/IP connections on port 5432?


The update has been finished successfully at Tue Apr 18 17:06:53 CDT 2017.

#6

Are you using the Software installation monitor (https://www.univention.com/products/univention-app-center/app-catalog/pkgdb/)? Otherwise you might consider uninstalling it along with the packages installed as dependency.