For new Package Requests, see the guidelines
Package Name: CouchPotato Custom
Package Version: 20180513-5
NAS Model: DS213
NAS Architecture:
DSM version: DSM 6.2.2-24922
Tell us what should happen
CouchPotato to start, just like it has for the past few years.
Tell us what happens instead
It fails to restart. When I check /var/log/packages/couchpotatoserver-custom.log, I see this:
/var/packages/couchpotatoserver-custom/scripts/service-setup: line 18: type: service_prestart: not found
1. Click "Run" on the web UI to start the service
2.
3.
Check Package Center or /usr/local/{package}/var/
2019/06/27 03:54:34 install couchpotatoserver-custom 20180513-5 Begin preinst
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 End preinst ret=[0]
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/couchpotatoserver-custom
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 End /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/couchpotatoserver-custom ret=[0]
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 Begin /bin/rm -rf /var/packages/couchpotatoserver-custom
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 End /bin/rm -rf /var/packages/couchpotatoserver-custom ret=[0]
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 Begin /bin/mkdir -p /var/packages/couchpotatoserver-custom
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 End /bin/mkdir -p /var/packages/couchpotatoserver-custom ret=[0]
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/couchpotatoserver-custom/INFO
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 End /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/couchpotatoserver-custom/INFO ret=[0]
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 Begin /bin/rm -rf /var/packages/couchpotatoserver-custom/scripts
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 End /bin/rm -rf /var/packages/couchpotatoserver-custom/scripts ret=[0]
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/couchpotatoserver-custom/scripts
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 End /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/couchpotatoserver-custom/scripts ret=[0]
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 Begin /bin/rm -rf /var/packages/couchpotatoserver-custom/WIZARD_UIFILES
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 End /bin/rm -rf /var/packages/couchpotatoserver-custom/WIZARD_UIFILES ret=[0]
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/WIZARD_UIFILES /var/packages/couchpotatoserver-custom/WIZARD_UIFILES
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 End /bin/mv -f /volume1/@tmp/pkginstall/WIZARD_UIFILES /var/packages/couchpotatoserver-custom/WIZARD_UIFILES ret=[0]
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 Begin /bin/rm -rf /var/packages/couchpotatoserver-custom/conf
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 End /bin/rm -rf /var/packages/couchpotatoserver-custom/conf ret=[0]
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 Begin /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/couchpotatoserver-custom/conf
2019/06/27 03:54:36 install couchpotatoserver-custom 20180513-5 End /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/couchpotatoserver-custom/conf ret=[0]
2019/06/27 03:54:37 install couchpotatoserver-custom 20180513-5 Begin postinst
delgroup: can't find couchpotatoserver-custom in /etc/group
deluser: unknown user couchpotatoserver-custom
2019/06/27 03:59:59 install couchpotatoserver-custom 20180513-5 End postinst ret=[0]
2019/06/27 03:59:59 install couchpotatoserver-custom 20180513-5 Begin /bin/rm -rf /volume1/@tmp/pkginstall
2019/06/27 03:59:59 install couchpotatoserver-custom 20180513-5 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0]
2019/06/27 04:00:03 install couchpotatoserver-custom 20180513-5 Begin start-stop-status start
Starting couchpotatoserver-custom ...
/var/packages/couchpotatoserver-custom/scripts/service-setup: line 18: type: service_prestart: not found
2019/06/27 04:00:37 install couchpotatoserver-custom 20180513-5 End start-stop-status start ret=[0]
E.g. /var/log/messages or /var/log/synopkg.log
2019/06/27 04:19:32 start couchpotatoserver-custom: begin to start version 20180513-5
2019/06/27 04:19:34 start couchpotatoserver-custom 20180513-5 Begin start-stop-status start
2019/06/27 04:19:43 start couchpotatoserver-custom 20180513-5 End start-stop-status start ret=[0]
2019/06/27 04:19:44 start couchpotatoserver-custom: start version 20180513-5 successfully, result 0```