Page 1 of 1

SOLVED: couchpotato service unavailable

Posted: Wed Feb 10, 2016 6:27 am
by wvdlee
After installing couchpotato i get:
Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
I am using amahi 8 upgraded from amahi 7 and I had to uninstall java 1.8 to get crashplan running. Could this problem be related to the missing java 1.8?

During installation I also get errors from Networkmanager, see messages log below

amahi-app-installer.log:

Code: Select all

======= app install begin @ 2016-02-09 21:14:51 +0100 ========== Installing app id r70fzy414f under /var/hda/platform/html/script/.. ENV=production file /var/hda/tmp/amahi-download-cache/8e7214c038c1880568a5b95dbb054a1caed7713a written in cache Your HDA services have been restarted. Your HDA services have been restarted. file /var/hda/tmp/amahi-download-cache/c3f775d488d2cadcdfebdcb1cfe8fa946f77b0c3 written in cache WARNING: primary downloaded file /var/hda/tmp/amahi-download-cache/c3f775d488d2cadcdfebdcb1cfe8fa946f77b0c3 did not pass signature check - got 1faee8c192a79f6724a93b8a47f9a129edc6a376, expected c3f775d488d2cadcdfebdcb1cfe8fa946f77b0c3 new file /var/hda/tmp/amahi-download-cache/c3f775d488d2cadcdfebdcb1cfe8fa946f77b0c3 from Amahi's mirror written in the cache Installing couchpotato.service Reloading systemctl daemon Enabling couchpotato.service Created symlink from /etc/systemd/system/multi-user.target.wants/couchpotato.service to /usr/lib/systemd/system/couchpotato.service. Starting couchpotato.service App: CouchPotato installed ======= app install end @ 2016-02-09 21:15:01 +0100 ========== ======= app uninstall begin @ 2016-02-09 21:25:18 +0100 ========== Uninstalling app id r70fzy414f under /var/hda/platform/html/script/.. ENV=production Stopping couchpotato.service Disabling couchpotato.service Removed symlink /etc/systemd/system/multi-user.target.wants/couchpotato.service. Removing couchpotato.service Backing up config to Newsgroups share Creating Backup directory Reloading systemctl daemon Done! Your HDA services have been restarted. App: CouchPotato uninstalled ======= app uninstall end @ 2016-02-09 21:25:19 +0100 ========== ======= app install begin @ 2016-02-09 21:25:45 +0100 ========== Installing app id r70fzy414f under /var/hda/platform/html/script/.. ENV=production file /var/hda/tmp/amahi-download-cache/8e7214c038c1880568a5b95dbb054a1caed7713a picked up from cache. Your HDA services have been restarted. Your HDA services have been restarted. file /var/hda/tmp/amahi-download-cache/c3f775d488d2cadcdfebdcb1cfe8fa946f77b0c3 picked up from cache. Installing couchpotato.service Reloading systemctl daemon Enabling couchpotato.service Created symlink from /etc/systemd/system/multi-user.target.wants/couchpotato.service to /usr/lib/systemd/system/couchpotato.service. Starting couchpotato.service App: CouchPotato installed ======= app install end @ 2016-02-09 21:25:51 +0100 ==========
messages:

Code: Select all

Feb 9 21:14:57 localhost NetworkManager: (NetworkManager:507): GLib-GObject-WARNING **: unable to set property 's390-options' of type 'GHashTable_gchararray+gchararray_' from value of type 'GHashTable_gchararray+GValue_' Feb 9 21:14:57 localhost NetworkManager: (NetworkManager:507): GLib-GObject-WARNING **: unable to set property 'addresses' of type 'GPtrArray_GValueArray_GArray_guchar_+guint+GArray_guchar___' from value of type 'GPtrArray_GValue_' Feb 9 21:14:57 localhost NetworkManager: (NetworkManager:507): GLib-GObject-WARNING **: unable to set property 'dns' of type 'GPtrArray_GArray_guchar__' from value of type 'GPtrArray_GValue_' Feb 9 21:14:57 localhost NetworkManager: (NetworkManager:507): GLib-GObject-WARNING **: unable to set property 'routes' of type 'GPtrArray_GValueArray_GArray_guchar_+guint+GArray_guchar_+guint__' from value of type 'GPtrArray_GValue_'

Re: couchpotato service unavailable

Posted: Wed Feb 10, 2016 7:15 am
by bigfoot65
Java is not needed for this application.

Please provide the URL for the following:

Code: Select all

fpaste --sysinfo
Are you running a desktop on the server by chance?

Re: couchpotato service unavailable

Posted: Wed Feb 10, 2016 12:08 pm
by wvdlee
http://paste.fedoraproject.org/320899/14551310

and i do not have a desktop installed

Re: couchpotato service unavailable

Posted: Wed Feb 10, 2016 3:38 pm
by bigfoot65
Can you please do the following as root user:

Code: Select all

systemctl start couchpotato systemctl status couchpotato
Provide the full output of the last command.

Re: couchpotato service unavailable

Posted: Thu Feb 11, 2016 6:14 am
by wvdlee
see the requested output below, but somehow couchpotato is working now. Maybe it needed an update or it just did not start?

well many thanks for helping out.

Code: Select all

[root@localhost ~]# systemctl start couchpotato [root@localhost ~]# systemctl status couchpotato ● couchpotato.service - CouchPotato server Loaded: loaded (/usr/lib/systemd/system/couchpotato.service; enabled) Active: active (running) since do 2016-02-11 14:07:23 CET; 16s ago Process: 32123 ExecStart=/var/hda/web-apps/couchpotato/html/CouchPotato.py --daemon --pid_file=/var/run/couchpotato/couchpotato.pid --data_dir=/var/hda/web-apps/couchpotato/data (code=exited, status=0/SUCCESS) Process: 32120 ExecStartPre=/usr/bin/chmod 755 /var/hda/web-apps/couchpotato/html/CouchPotato.py (code=exited, status=0/SUCCESS) Process: 32117 ExecStartPre=/usr/bin/chown -R apache:users /var/run/couchpotato/ (code=exited, status=0/SUCCESS) Process: 32113 ExecStartPre=/usr/bin/mkdir -p /var/run/couchpotato/ (code=exited, status=0/SUCCESS) Main PID: 32127 (python) CGroup: /system.slice/couchpotato.service └─32127 python /var/hda/web-apps/couchpotato/html/CouchPotato.py --daemon --pid_file=/var/run/couchpotato/couchpotato.pid --data_dir=/var/hda/web-apps/couchpotato/data [root@localhost ~]#

Re: couchpotato service unavailable

Posted: Thu Feb 11, 2016 6:38 am
by bigfoot65
Odd but glad it's working.

When you install, sometimes it takes a few minutes for the server to start. If you try accessing it too soon, then it has issues.

Either way, working and will mark this as solved.

Re: couchpotato service unavailable

Posted: Thu Feb 11, 2016 6:41 am
by wvdlee
couchpotato says (under the messages logo):
Updated to a new version with hash "e9593f60e5f709a13c2401e0b8d94e1073efb2e2", this version is from 2015-08-31 20:55:08
I assume this update fixed it?

Re: SOLVED: couchpotato service unavailable

Posted: Thu Feb 11, 2016 6:53 am
by bigfoot65
That update should not have made a difference.

I installed the app on my test machine and it worked fine before the update was applied.

Oh well, at least you are good now.