Owncloud Error 503

On my owncloud 10.0.9-20180720 I am getting:

Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

apache2 error.log

[Sun Oct 07 11:30:12.766782 2018] [proxy:error] [pid 5135] (111)Connection refused: AH00957: HTTPS: attempt to connect to ( failed
[Sun Oct 07 11:30:12.766842 2018] [proxy_http:error] [pid 5135] [client] AH01114: HTTP: failed to make connection to backend:

netstat -tulpen | grep apache
[sudo] password for Administrator:
tcp6 0 0 :::80 :::* LISTEN 0 22308 1798/apache2
tcp6 0 0 :::443 :::* LISTEN 0 22304 1798/apache2

Looks like port 40001 is not responding or blocked…

Could you please post the info from config.php? To do so, go to the admin settings page, then to “Generate Config Report” and then click “Download ownCloud config report”.

I cant access the admin page. https://mydomain/owncloud doesnt work.

Got it thru ssh:

<?php $CONFIG = array ( 'datadirectory' => '/var/lib/univention-appcenter/apps/owncloud/data/files', 'apps_paths' => array ( 0 => array ( 'path' => '/var/www/owncloud/apps', 'url' => '/apps', 'writable' => false, ), 1 => array ( 'path' => '/var/www/owncloud/custom', 'url' => '/custom', 'writable' => true, ), ), 'dbtype' => 'mysql', 'dbhost' => '', 'dbname' => 'owncloud', 'dbuser' => 'owncloud', 'dbpassword' => 'dbpass', 'dbtableprefix' => 'oc_', 'trusted_domains' => array ( 0 => 'localhost', ), 'passwordsalt' => 'passsalt', 'secret' => 'secret', 'overwrite.cli.url' => 'http://localhost/owncloud', 'version' => '', 'logtimezone' => 'UTC', 'installed' => true, 'instanceid' => 'ocnryo37hqkg', 'updatechecker' => 'false', 'upgrade.disable-web' => 'true', 'filelocking.enabled' => 'true', 'memcache.local' => '\\OC\\Memcache\\APCu', 'maintenance' => false, 'loglevel' => '2', 'default_language' => 'en', 'htaccess.RewriteBase' => '/owncloud', );

Please remove your password info as soon as possible! You can also get the config.php info using “sudo -u www-data php occ config:list system”, which automatically removes sensitive info.

This is a test system. Will not go prodution at this state…

Command returns error:

sudo -u www-data php occ config:list system
Could not open input file: occ

Try: sudo -u www-data php /var/www/owncloud/occ config:list system

Same, what is the file we are looking for so I can run a locate…

sudo -u www-data php /var/www/owncloud/occ config:list system
Could not open input file: /var/www/owncloud/occ

You’re looking for the occ file. Please also edit your earlier post! You put you database password in there!

Cant find that.

locate occ

Looks like owncloud didnt start automatically. Is there a way I can try to start using the command line and also check logs for the reason why it didnt start?

Configure ownCloud
The application is currently not running. It can only be configured while it is running.

Started automatically