Owncloud Error 503

hosting

#1

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 127.0.0.1:40001 (127.0.0.1) failed
[Sun Oct 07 11:30:12.766842 2018] [proxy_http:error] [pid 5135] [client 179.216.25.12:54661] AH01114: HTTP: failed to make connection to backend: 127.0.0.1

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…


#2

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”.


#3

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' => '172.17.42.1:3306', 'dbname' => 'owncloud', 'dbuser' => 'owncloud', 'dbpassword' => 'dbpass', 'dbtableprefix' => 'oc_', 'trusted_domains' => array ( 0 => 'localhost', ), 'passwordsalt' => 'passsalt', 'secret' => 'secret', 'overwrite.cli.url' => 'http://localhost/owncloud', 'version' => '10.0.9.5', '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', );

#4

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.


#5

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


#6

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


#7

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


#8

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


#9

Cant find that.

locate occ
/lib/modules/4.9.0-6-amd64/kernel/drivers/hid/hid-roccat-arvo.ko
/lib/modules/4.9.0-6-amd64/kernel/drivers/hid/hid-roccat-common.ko
/lib/modules/4.9.0-6-amd64/kernel/drivers/hid/hid-roccat-isku.ko
/lib/modules/4.9.0-6-amd64/kernel/drivers/hid/hid-roccat-kone.ko
/lib/modules/4.9.0-6-amd64/kernel/drivers/hid/hid-roccat-koneplus.ko
/lib/modules/4.9.0-6-amd64/kernel/drivers/hid/hid-roccat-konepure.ko
/lib/modules/4.9.0-6-amd64/kernel/drivers/hid/hid-roccat-kovaplus.ko
/lib/modules/4.9.0-6-amd64/kernel/drivers/hid/hid-roccat-lua.ko
/lib/modules/4.9.0-6-amd64/kernel/drivers/hid/hid-roccat-pyra.ko
/lib/modules/4.9.0-6-amd64/kernel/drivers/hid/hid-roccat-ryos.ko
/lib/modules/4.9.0-6-amd64/kernel/drivers/hid/hid-roccat-savu.ko
/lib/modules/4.9.0-6-amd64/kernel/drivers/hid/hid-roccat.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/hid/hid-roccat-arvo.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/hid/hid-roccat-common.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/hid/hid-roccat-isku.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/hid/hid-roccat-kone.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/hid/hid-roccat-koneplus.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/hid/hid-roccat-konepure.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/hid/hid-roccat-kovaplus.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/hid/hid-roccat-lua.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/hid/hid-roccat-pyra.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/hid/hid-roccat-ryos.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/hid/hid-roccat-savu.ko
/lib/modules/4.9.0-8-amd64/kernel/drivers/hid/hid-roccat.ko
/usr/share/vim/vim80/ftplugin/occam.vim
/usr/share/vim/vim80/indent/occam.vim
/usr/share/vim/vim80/syntax/occam.vim


#10

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
Autostart