synopkg.log
2019/08/11 23:11:31 install Gitea 1.9.0 Begin /bin/rm -rf /volume1/@tmp/pkginstall
2019/08/11 23:11:31 install Gitea 1.9.0 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0]
2019/08/11 23:11:31 install Gitea 1.9.0 successfully
2019/08/11 23:11:34 install Gitea: begin to start version 1.9.0
2019/08/11 23:11:35 install Gitea 1.9.0 Begin pre-load apparmor
2019/08/11 23:11:35 install Gitea 1.9.0 End pre-load apparmor ret=[0]
2019/08/11 23:11:35 install Gitea 1.9.0 Begin start-stop-status start
2019/08/11 23:11:35 install Gitea 1.9.0 End start-stop-status start ret=[1]
2019/08/11 23:11:35 (system) trigger Gitea 1.9.0 Begin start-stop-status stop
2019/08/11 23:11:35 (system) trigger Gitea 1.9.0 End start-stop-status stop ret=[0]
2019/08/11 23:11:35 (system) trigger Gitea 1.9.0 Begin unload apparmor
2019/08/11 23:11:35 (system) trigger Gitea 1.9.0 End unload apparmor ret=[0]
2019/08/11 23:11:36 stop Gitea: begin to stop version 1.9.0
2019/08/11 23:11:36 stop Gitea: stop version 1.9.0 successfully, result 0
2019/08/11 23:11:36 install Gitea: start version 1.9.0 failed, result 272
Service Accounts wurden angelegt:
gitea:x:274350:
gitea:x:274350:274350::/var/packages/Gitea/target:/sbin/nologin
gitea:*:18119:0:99999:7:::
synoservices.log:
service_start.c:180 synoservice: [pkgctl-Gitea] start failed.[0xD900 manager.cpp:204]
In den messages hab ich ein permission denied gefunden:
synopkgctl: process.cpp:236 Failed to run start-stop-status start, ret=[-1], Permission denied
2019-08-11T23:20:37+02:00 Synobaby916 [44403.550420] init: pkgctl-Gitea pre-start process (14362) terminated with status 1
2019-08-11T23:20:37+02:00 Synobaby916 synoscgi_SYNO.Core.Package.Control_1_start[10423]: servicecfg_internal_lib.c:187 Failed to start job [pkgctl-Gitea][0xD900 manager.cpp:204]
2019-08-11T23:20:38+02:00 Synobaby916 synoscgi_SYNO.Core.Package.Control_1_start[10423]: service_initjob_action.c:27 InitJobStart failed, [0xD900 manager.cpp:204]
2019-08-11T23:20:38+02:00 Synobaby916 synoscgi_SYNO.Core.Package.Control_1_start[10423]: pkgstartstop.cpp:367 Failed to start pkgctl-Gitea (err=-1) [0xD900 manager.cpp:204]
Beim Versuch das script manuell zu starten & more:
root@Synobaby916:/var/packages/Gitea/scripts# . start-stop-status start
Starting Gitea ...
-ash: cd: /usr/local/gitea/gitea: No such file or directory
-ash: /usr/local/gitea/gitea/gitea.pid: No such file or directory
root@Synobaby916:/var/packages/Gitea/scripts# cd /usr/local/gitea/
-ash: cd: /usr/local/gitea/: No such file or directory
[1]+ Exit 127 ${gitea} web > /dev/null 2>&1
root@Synobaby916:/var/packages/Gitea/scripts# cd /usr/local/gitea
-ash: cd: /usr/local/gitea: No such file or directory