SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.04k stars 1.23k forks source link

[tvheadend] 403 when opening service #5539

Closed mattmary closed 1 year ago

mattmary commented 1 year ago

Is this a new Bug?

Package Name

tvheadend

Package Version

4.3.20221128

Device Model

DS918+

Device Architecture

x86_64

Firmware Version

7.1

What happened?

Hello,

this issue follows my problem to reinstall the package: https://github.com/SynoCommunity/spksrc/issues/5538 After installation, I opened the tvheadend URL and have been to define the basic configuration values. I then restarted the service and reopen the URL: it requests me my credentials (I'm sure of them, and copied pasted them from notepad): but I get a 403 forbidden.

To check if I did not make a mistake in my password,

After this new reinstall, I have not been asked to set configuration values: I get directly a 403.

it seems that I'm not the only one with this issue: in the tvheadend support, there is this topic https://tvheadend.org/boards/4/topics/44706. I've tried to force the admin credentials with this superuser file, but the filesystem seems different from this topic.

So my questions are:

Thanks for your help

Reproduction steps

Not sure

Install Log

/var/log/packages/tvheadend.log

2022/12/27 14:09:36 install tvheadend 4.3.20221128-34 End postinst ret=[0]
2022/12/27 14:09:37 install tvheadend 4.3.20221128-34 Begin start-stop-status start
2022/12/27 14:09:38 install tvheadend 4.3.20221128-34 End start-stop-status start ret=[0]
2022/12/27 18:42:59 uninstall tvheadend 4.3.20221128-34 Begin start-stop-status stop
2022/12/27 18:43:00 uninstall tvheadend 4.3.20221128-34 End start-stop-status stop ret=[0]
2022/12/27 18:43:01 uninstall tvheadend 4.3.20221128-34 Begin preuninst
2022/12/27 18:43:01 Begin reload_inst_variables
2022/12/27 18:43:01 End reload_inst_variables
2022/12/27 18:43:01 Begin initialize_variables
2022/12/27 18:43:01 End initialize_variables
2022/12/27 18:43:01 ===> Step preuninst. USER=sc-tvheadend GROUP=sc-media SHARE_PATH=
2022/12/27 18:43:01 uninstall tvheadend 4.3.20221128-34 End preuninst ret=[0]
2022/12/27 18:43:01 uninstall tvheadend 4.3.20221128-34 Begin /bin/rm -rf /volume1/@appstore/tvheadend
2022/12/27 18:43:02 uninstall tvheadend 4.3.20221128-34 End /bin/rm -rf /volume1/@appstore/tvheadend ret=[0]
2022/12/27 18:43:02 uninstall tvheadend 4.3.20221128-34 Begin /bin/rm -rf /volume1/@apptemp/tvheadend
2022/12/27 18:43:02 uninstall tvheadend 4.3.20221128-34 End /bin/rm -rf /volume1/@apptemp/tvheadend ret=[0]
2022/12/27 18:43:02 uninstall tvheadend 4.3.20221128-34 Begin postuninst
2022/12/27 18:43:02 Begin reload_inst_variables
2022/12/27 18:43:02 End reload_inst_variables
2022/12/27 18:43:02 Begin initialize_variables
2022/12/27 18:43:02 End initialize_variables
2022/12/27 18:43:02 ===> Step postuninst. USER=sc-tvheadend GROUP=sc-media SHARE_PATH=
2022/12/27 18:43:02 Removing files...
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http/a/1/9/5/3/a19537d3cf37c122db841d6fe4cd322bc10d1a558bb00d146b85cb9a
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http/a/1/9/5/3
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http/a/1/9/5
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http/a/1/9
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http/a/1
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http/a
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http/6/9/a/7/8/69a784ff69eb2a2ef3e99e2d3e6bdb710a433bdd8f3278d21abdceb4
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http/6/9/a/7/8
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http/6/9/a/7
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http/6/9/a
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http/6/9
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http/6
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/http
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/selfcheck/53c9c9bd6a20240433b2dd280e9cbad5b9f4de1397b18627b22ecbe3
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip/selfcheck
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache/pip
2022/12/27 18:43:02 /volume1/@apphome/tvheadend/.cache
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/epggrab/conf/zap2epg.xml
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/epggrab/conf
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/epggrab/cache
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/epggrab/log
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/epggrab
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/4/4/6/e/8446ec362e64fea594777daa93d4452dcbbf73311fcc694233a3ca52
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/4/4/6/e
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/4/4/6
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/4/4
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/4
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/0/2/6/d/8026d0a0373c433b6a2a22b44df96cd714df140154e978c0c011dc8c
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/0/2/6/d
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/0/2/6
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/0/2
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/0
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/d/0/e/1/8d0e104919449355aedb55b5b546bb9fd53f0e1a8ca1b082109464e9
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/d/0/e/1
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/d/0/e
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/d/0
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/d
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/b/2/4/2/8b24226e2da88df4abeee0d8ca6bce79b19ca2bcd5f94b543939c66c
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/b/2/4/2
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/b/2/4
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/b/2
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8/b
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/8
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/e/a/c/6/1/eac61126daf80149d2a016f12a54eab5e3b5c1dbc77410ff1a97edc4
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/e/a/c/6/1
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/e/a/c/6
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/e/a/c
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/e/a
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/e
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/0/3/f/a/e/03fae1ef48c416fa273344cda42c0393aa5b97ed7cd4b09fded4ad56
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/0/3/f/a/e
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/0/3/f/a
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/0/3/f
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/0/3
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/0
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/d/2/c/a/9/d2ca921bd9f7b2868c96b5e24adc32e7cc4c73c64e24cd0e492673f0
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/d/2/c/a/9
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/d/2/c/a
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/d/2/c
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/d/2
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/d
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/c/7/3/c/2/c73c24412e37520aeda9887e30fa197bdde8641ed86e4049a90881c5
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/c/7/3/c/2
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/c/7/3/c
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/c/7/3
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/c/7
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/c
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/4/b/e/0/7/4be07d3ac353e38d2c9e3a257cad36ee2a758fc88b4cd5f0d479a5a9
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/4/b/e/0/7
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/4/b/e/0
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/4/b/e
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/4/b
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/4
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/a/6/4/7/e/a647e5de63abd5f7c78c3d5059324ec158911b2069acb619eda969ab
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/a/6/4/7/e
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/a/6/4/7
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/a/6/4
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/a/6
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/a/1/9/5/3/a19537d3cf37c122db841d6fe4cd322bc10d1a558bb00d146b85cb9a
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/a/1/9/5/3
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/a/1/9/5
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/a/1/9
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/a/1
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http/a
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/http
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/selfcheck/53c9c9bd6a20240433b2dd280e9cbad5b9f4de1397b18627b22ecbe3
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache/selfcheck
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/pip-cache
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/tvheadend.log
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/.lock
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/codec/d91a3dad1cc9cce218967b03de02efee
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/codec/b8c6a0e96d9fb013a62bec7c24130f35
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/codec/02d5a5937b45cc97fdd007b15df88bf1
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/codec/a5e486680a8fe9862d655184bc950cd7
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/codec
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/profile/7090d6d36ce51982244ce6a29f2eae4f
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/profile/b60eea2cb21ad25408ae4b6104bdc79c
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/profile/b9a21e525ac8f2c1b87a11b04d20d7cb
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/profile/b21795b8675978667023af1fedce3120
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/profile/86be56379db427acf659909e129e0fbc
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/profile/8273b5b6db3a71791bce5301109629fe
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/profile/58b77c10b6a95648d5ce0163c547dc43
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/profile
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/caclient/363f1e3dae1d14826ae054786665cfba
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/caclient
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/f34c17c92d7d405bde68fda333d0b6d8
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/a89c6be9802787129f9342ba1359809a
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/a8c2d3e9055ed72a956ab74333389e8e
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/b85b6eac2a418cb45e3c7900103b6875
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/73ec23f487e9550aa0b49d44b8eb5de5
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/6fabc1eb73a28ab982a6b0649d2b24f8
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/3950c9e0b8264cd25b1c678de7e44215
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/d0f3179b9f88349deabe7225a1082ace
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/4d003ebf430360f11fdc4f67d2108ad3
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/db25c678008aca91eadd2be7d7b37ecc
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/77c415bef36860903880600e71ee8987
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/2eef1d33b66396f82e79f9a22be80f8b
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet/03e5bae3e1fa8d5d44c7f616420ea29c
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/bouquet
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/dvr/config/c8c7b91caeefaa00d61ce21baa82671e
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/dvr/config
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/dvr
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/accesscontrol/015686d39fe077d229a6b6787d8751ea
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/accesscontrol
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/passwd/3cdf5f9f7f4e175b2674b2d0296b52cb
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/passwd
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/config
2022/12/27 18:43:02 /volume1/@appdata/tvheadend/epgdb.v3
2022/12/27 18:43:02 uninstall tvheadend 4.3.20221128-34 End postuninst ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin preinst
2022/12/27 18:46:21 Begin reload_inst_variables
2022/12/27 18:46:21 End reload_inst_variables
2022/12/27 18:46:21 Begin initialize_variables
2022/12/27 18:46:21 End initialize_variables
2022/12/27 18:46:21 ===> Step preinst. USER=sc-tvheadend GROUP=sc-media SHARE_PATH=
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End preinst ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/mkdir -p /volume1/@appstore/tvheadend -m 755
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/mkdir -p /volume1/@appstore/tvheadend -m 755 ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/rm -rf /volume1/@appstore/tvheadend
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/rm -rf /volume1/@appstore/tvheadend ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/mv -f /volume1/@tmp/synopkg/install.26VfPq/package /volume1/@appstore/tvheadend
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/mv -f /volume1/@tmp/synopkg/install.26VfPq/package /volume1/@appstore/tvheadend ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/rm -rf /var/packages/tvheadend
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/rm -rf /var/packages/tvheadend ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/mkdir -p /var/packages/tvheadend -m 755
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/mkdir -p /var/packages/tvheadend -m 755 ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/touch /var/packages/tvheadend/installing
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/touch /var/packages/tvheadend/installing ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/mv -f /volume1/@tmp/synopkg/install.26VfPq/INFO /var/packages/tvheadend/INFO
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/mv -f /volume1/@tmp/synopkg/install.26VfPq/INFO /var/packages/tvheadend/INFO ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/rm -rf /var/packages/tvheadend/scripts
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/rm -rf /var/packages/tvheadend/scripts ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/mv -f /volume1/@tmp/synopkg/install.26VfPq/scripts /var/packages/tvheadend/scripts
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/mv -f /volume1/@tmp/synopkg/install.26VfPq/scripts /var/packages/tvheadend/scripts ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/rm -rf /var/packages/tvheadend/WIZARD_UIFILES
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/rm -rf /var/packages/tvheadend/WIZARD_UIFILES ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/mv -f /volume1/@tmp/synopkg/install.26VfPq/WIZARD_UIFILES /var/packages/tvheadend/WIZARD_UIFILES
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/mv -f /volume1/@tmp/synopkg/install.26VfPq/WIZARD_UIFILES /var/packages/tvheadend/WIZARD_UIFILES ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/rm -rf /var/packages/tvheadend/conf
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/rm -rf /var/packages/tvheadend/conf ret=[0]
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 Begin /bin/mv -f /volume1/@tmp/synopkg/install.26VfPq/conf /var/packages/tvheadend/conf
2022/12/27 18:46:21 install tvheadend 4.3.20221128-34 End /bin/mv -f /volume1/@tmp/synopkg/install.26VfPq/conf /var/packages/tvheadend/conf ret=[0]
2022/12/27 18:46:23 install tvheadend 4.3.20221128-34 Begin postinst
2022/12/27 18:46:23 Begin reload_inst_variables
2022/12/27 18:46:23 End reload_inst_variables
2022/12/27 18:46:23 Begin initialize_variables
2022/12/27 18:46:23 End initialize_variables
2022/12/27 18:46:23 ===> Step postinst. USER=sc-tvheadend GROUP=sc-media SHARE_PATH=
2022/12/27 18:46:23 Begin save_wizard_variables
2022/12/27 18:46:23 End save_wizard_variables
2022/12/27 18:46:23 Begin syno_sync_var_folder
2022/12/27 18:46:23 Install files from var folder
2022/12/27 18:46:23 /bin/rsync -avh --ignore-existing --remove-source-files /volume1/@appstore/tvheadend/var/ /volume1/@appdata/tvheadend
2022/12/27 18:46:23 sending incremental file list
2022/12/27 18:46:23 ./
2022/12/27 18:46:23 epggrab/
2022/12/27 18:46:23 epggrab/conf/
2022/12/27 18:46:23 epggrab/conf/zap2epg.xml
2022/12/27 18:46:23 sent 1.67K bytes  received 58 bytes  3.46K bytes/sec
2022/12/27 18:46:23 total size is 1.48K  speedup is 0.86
2022/12/27 18:46:23 /bin/rsync -avh --remove-source-files /volume1/@appstore/tvheadend/var/ /volume1/@appdata/tvheadend
2022/12/27 18:46:23 sending incremental file list
2022/12/27 18:46:23 epggrab/conf/
2022/12/27 18:46:23 sent 118 bytes  received 17 bytes  270.00 bytes/sec
2022/12/27 18:46:23 total size is 0  speedup is 0.00
2022/12/27 18:46:23 End syno_sync_var_folder
2022/12/27 18:46:23 Begin service_postinst
2022/12/27 18:46:23 Python 3.10.8
2022/12/27 18:46:34 Requirement already satisfied: pip in /volume1/@appstore/tvheadend/env/lib/python3.10/site-packages (22.2.2)
2022/12/27 18:46:39 Collecting pip
2022/12/27 18:46:39   Downloading pip-22.3.1-py3-none-any.whl (2.1 MB)
2022/12/27 18:46:39      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 8.7 MB/s eta 0:00:00
2022/12/27 18:46:40 Installing collected packages: pip
2022/12/27 18:46:40   Attempting uninstall: pip
2022/12/27 18:46:40     Found existing installation: pip 22.2.2
2022/12/27 18:46:40     Uninstalling pip-22.2.2:
2022/12/27 18:46:40       Successfully uninstalled pip-22.2.2
2022/12/27 18:46:43 Successfully installed pip-22.3.1
2022/12/27 18:46:44 Install packages from wheels
2022/12/27 18:46:44 Install packages from wheels [/volume1/@appstore/tvheadend/share/wheelhouse/requirements.txt]
2022/12/27 18:46:45 Looking in links: /volume1/@appstore/tvheadend/share/wheelhouse
2022/12/27 18:46:50 Collecting chardet==4.0.0
2022/12/27 18:46:50   Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
2022/12/27 18:46:50      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.7/178.7 kB 6.4 MB/s eta 0:00:00
2022/12/27 18:46:50 Collecting requests==2.25.1
2022/12/27 18:46:50   Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
2022/12/27 18:46:50      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 2.9 MB/s eta 0:00:00
2022/12/27 18:46:51 Collecting urllib3==1.26.5
2022/12/27 18:46:51   Downloading urllib3-1.26.5-py2.py3-none-any.whl (138 kB)
2022/12/27 18:46:51      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.1/138.1 kB 7.1 MB/s eta 0:00:00
2022/12/27 18:46:51 Collecting idna<3,>=2.5
2022/12/27 18:46:51   Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
2022/12/27 18:46:51      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 4.0 MB/s eta 0:00:00
2022/12/27 18:46:51 Collecting certifi>=2017.4.17
2022/12/27 18:46:51   Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
2022/12/27 18:46:51      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 10.7 MB/s eta 0:00:00
2022/12/27 18:46:51 Installing collected packages: urllib3, idna, chardet, certifi, requests
2022/12/27 18:46:52   Attempting uninstall: certifi
2022/12/27 18:46:52     Found existing installation: certifi 2022.9.24
2022/12/27 18:46:52     Not uninstalling certifi at /volume1/@appstore/python310/lib/python3.10/site-packages, outside environment /volume1/@appstore/tvheadend/env
2022/12/27 18:46:52     Can't uninstall 'certifi'. No files were found to uninstall.
2022/12/27 18:46:52 Successfully installed certifi-2022.12.7 chardet-4.0.0 idna-2.10 requests-2.25.1 urllib3-1.26.5
2022/12/27 18:46:53 Installed modules:
2022/12/27 18:46:54 certifi==2022.12.7
2022/12/27 18:46:54 chardet==4.0.0
2022/12/27 18:46:54 distlib==0.3.6
2022/12/27 18:46:54 filelock==3.8.0
2022/12/27 18:46:54 idna==2.10
2022/12/27 18:46:54 platformdirs==2.5.2
2022/12/27 18:46:54 requests==2.25.1
2022/12/27 18:46:54 six==1.16.0
2022/12/27 18:46:54 urllib3==1.26.5
2022/12/27 18:46:54 virtualenv==20.16.5
2022/12/27 18:46:54 End service_postinst
2022/12/27 18:46:54 install tvheadend 4.3.20221128-34 End postinst ret=[0]
2022/12/27 18:46:54 install tvheadend 4.3.20221128-34 Begin start-stop-status start
2022/12/27 18:46:55 install tvheadend 4.3.20221128-34 End start-stop-status start ret=[0]
2022/12/27 18:57:20 stop tvheadend 4.3.20221128-34 Begin start-stop-status stop
2022/12/27 18:57:21 stop tvheadend 4.3.20221128-34 End start-stop-status stop ret=[0]
2022/12/27 18:57:24 start tvheadend 4.3.20221128-34 Begin start-stop-status start
2022/12/27 18:57:25 start tvheadend 4.3.20221128-34 End start-stop-status start ret=[0]
2022/12/27 19:30:36 stop tvheadend 4.3.20221128-34 Begin start-stop-status stop
2022/12/27 19:30:37 stop tvheadend 4.3.20221128-34 End start-stop-status stop ret=[0]
2022/12/27 19:30:41 start tvheadend 4.3.20221128-34 Begin start-stop-status start
2022/12/27 19:30:42 start tvheadend 4.3.20221128-34 End start-stop-status start ret=[0]

### Service Log

```log
/var/packages/tvheadend/var.tvheadend.log

tarting tvheadend command tvheadend -f -C -u sc-tvheadend -g synocommunity --http_port 9981 --htsp_port 9982 -c /volume1/@appdata/tvheadend -p /volume1/@appdata/tvheadend/tvheadend.pid -l /volume1/@appdata/tvheadend/tvheadend.log --debug ""
2022-12-27 19:30:42.217 [  ERROR]:config: unknown subsystem '""'
2022-12-27 19:30:42.217 [   INFO]:main: Log started
2022-12-27 19:30:42.218 [   INFO]:http: Starting HTTP server 0.0.0.0:9981
2022-12-27 19:30:42.218 [   INFO]:htsp: Starting HTSP server 0.0.0.0:9982
2022-12-27 19:30:42.247 [   INFO]:config: loaded
2022-12-27 19:30:42.247 [   INFO]:config: scanfile (re)initialization with path <none>
2022-12-27 19:30:42.247 [   INFO]:transcode: 'video' context type registered
2022-12-27 19:30:42.247 [   INFO]:transcode: 'audio' context type registered
2022-12-27 19:30:42.247 [   INFO]:transcode: '&TVHH264Decoder' decoder helper registered
2022-12-27 19:30:42.247 [   INFO]:transcode: '&TVHTHEORADecoder' decoder helper registered
2022-12-27 19:30:42.247 [   INFO]:transcode: '&TVHAACDecoder' decoder helper registered
2022-12-27 19:30:42.247 [   INFO]:transcode: '&TVHVORBISDecoder' decoder helper registered
2022-12-27 19:30:42.247 [   INFO]:transcode: '&TVHOPUSDecoder' decoder helper registered
2022-12-27 19:30:42.247 [   INFO]:transcode: '&TVHMPEG2VIDEOEncoder' encoder helper registered
2022-12-27 19:30:42.247 [   INFO]:transcode: '&TVHH264Encoder' encoder helper registered
2022-12-27 19:30:42.247 [   INFO]:transcode: '&TVHHEVCEncoder' encoder helper registered
2022-12-27 19:30:42.247 [   INFO]:transcode: '&TVHAACEncoder' encoder helper registered
2022-12-27 19:30:42.247 [   INFO]:codec: 'mpeg2video' encoder registered
2022-12-27 19:30:42.247 [   INFO]:codec: 'mp2' encoder registered
2022-12-27 19:30:42.247 [   INFO]:codec: 'aac' encoder registered
2022-12-27 19:30:42.247 [   INFO]:codec: 'vorbis' encoder registered
2022-12-27 19:30:42.247 [   INFO]:codec: 'flac' encoder registered
2022-12-27 19:30:42.247 [   INFO]:codec: 'libx264' encoder registered
2022-12-27 19:30:42.247 [   INFO]:codec: 'libx265' encoder registered
2022-12-27 19:30:42.247 [   INFO]:codec: 'libvpx' encoder registered
2022-12-27 19:30:42.247 [   INFO]:codec: 'libvpx-vp9' encoder registered
2022-12-27 19:30:42.247 [   INFO]:codec: 'libtheora' encoder registered
2022-12-27 19:30:42.247 [   INFO]:codec: 'libvorbis' encoder registered
2022-12-27 19:30:42.248 [   INFO]:codec: 'libfdk_aac' encoder registered
2022-12-27 19:30:42.248 [   INFO]:codec: 'libopus' encoder registered
2022-12-27 19:30:42.248 [   INFO]:codec: 'h264_vaapi' encoder registered
2022-12-27 19:30:42.248 [   INFO]:codec: 'hevc_vaapi' encoder registered
2022-12-27 19:30:42.248 [   INFO]:codec: 'vp8_vaapi' encoder registered
2022-12-27 19:30:42.248 [   INFO]:codec: 'vp9_vaapi' encoder registered
2022-12-27 19:30:42.248 [   INFO]:codec: 'webtv-vp8' codec profile created
2022-12-27 19:30:42.248 [   INFO]:codec: 'webtv-h264' codec profile created
2022-12-27 19:30:42.248 [   INFO]:codec: 'webtv-vorbis' codec profile created
2022-12-27 19:30:42.248 [   INFO]:codec: 'webtv-aac' codec profile created
2022-12-27 19:30:42.250 [   INFO]:descrambler: adding CAID 2600/FFFF as ConstCW interval 10000ms pc 20 ep default (BISS)
2022-12-27 19:30:42.250 [   INFO]:descrambler: adding CAID 0E00/FFFF as MultiPID interval 1000ms pc 2 ep default (PowerVu)
2022-12-27 19:30:42.252 [   INFO]:iptv: Using 2 input thread(s)
2022-12-27 19:30:42.253 [   INFO]:dvr: Creating new configuration ''
2022-12-27 19:30:42.255 [   INFO]:epggrab: module uk_freesat created
2022-12-27 19:30:42.255 [   INFO]:epggrab: module uk_freesat_eit created
2022-12-27 19:30:42.255 [   INFO]:epggrab: module uk_freeview created
2022-12-27 19:30:42.255 [   INFO]:epggrab: module nz_freeview2 created
2022-12-27 19:30:42.255 [   INFO]:epggrab: module nz_freeview1 created
2022-12-27 19:30:42.256 [   INFO]:epggrab: module viasat_baltic created
2022-12-27 19:30:42.256 [   INFO]:epggrab: module Bulsatcom_39E created
2022-12-27 19:30:42.256 [   INFO]:epggrab: module uk_cable_virgin created
2022-12-27 19:30:42.256 [   INFO]:epggrab: module eit created
2022-12-27 19:30:42.256 [   INFO]:epggrab: module psip created
2022-12-27 19:30:42.259 [   INFO]:epggrab: module opentv-skyuk created
2022-12-27 19:30:42.259 [   INFO]:epggrab: module opentv-skynz created
2022-12-27 19:30:42.259 [   INFO]:epggrab: module opentv-skyit created
2022-12-27 19:30:42.260 [   INFO]:epggrab: module opentv-ausat created
2022-12-27 19:30:42.260 [   INFO]:epggrab: module xmltv created
2022-12-27 19:30:42.264 [   INFO]:spawn: Executing "/volume1/@appstore/tvheadend/bin/tv_grab_file"
2022-12-27 19:30:42.268 [   INFO]:epggrab: module /volume1/@appstore/tvheadend/bin/tv_grab_file created
2022-12-27 19:30:42.269 [   INFO]:spawn: Executing "/volume1/@appstore/tvheadend/bin/tv_grab_url"
2022-12-27 19:30:42.273 [   INFO]:epggrab: module /volume1/@appstore/tvheadend/bin/tv_grab_url created
2022-12-27 19:30:42.274 [   INFO]:spawn: Executing "/volume1/@appstore/tvheadend/bin/tv_grab_wg"
2022-12-27 19:30:42.277 [   INFO]:epggrab: module /volume1/@appstore/tvheadend/bin/tv_grab_wg created
2022-12-27 19:30:42.279 [   INFO]:spawn: Executing "/volume1/@appstore/tvheadend/bin/tv_grab_zap2epg"
2022-12-27 19:30:42.307 [   INFO]:epggrab: module /volume1/@appstore/tvheadend/bin/tv_grab_zap2epg created
2022-12-27 19:30:42.309 [   INFO]:tbl-eit: module eit - scraper disabled by config
2022-12-27 19:30:42.310 [   INFO]:epgdb: gzip format detected, inflating (ratio 138.6% deflated size 79)
2022-12-27 19:30:42.310 [   INFO]:epgdb: parsing 57 bytes
2022-12-27 19:30:42.310 [   INFO]:epgdb: loaded v3
2022-12-27 19:30:42.310 [   INFO]:epgdb:   config     1
2022-12-27 19:30:42.310 [   INFO]:epgdb:   broadcasts 0
2022-12-27 19:30:42.310 [   INFO]:dvr: Purging obsolete autorec entries for current schedule
2022-12-27 19:30:42.310 [ NOTICE]:START: HTS Tvheadend version 4.3~d885496 started, running as PID:28868 UID:276776 GID:207066, CWD:/ CNF:/volume1/@appdata/tvheadend
2022-12-27 19:30:42.438 [   INFO]:scanfile: DVB-S - loaded 1 regions with 116 networks
2022-12-27 19:30:42.438 [   INFO]:scanfile: DVB-T - loaded 46 regions with 1132 networks
2022-12-27 19:30:42.439 [   INFO]:scanfile: DVB-C - loaded 20 regions with 82 networks
2022-12-27 19:30:42.439 [   INFO]:scanfile: ATSC-T - loaded 2 regions with 12 networks
2022-12-27 19:30:42.439 [   INFO]:scanfile: ATSC-C - loaded 1 regions with 5 networks
2022-12-27 19:30:42.439 [   INFO]:scanfile: ISDB-T - loaded 2 regions with 1297 networks
2022-12-27 19:30:53.105 [  ERROR]:http: 192.168.40.9: HTTP/1.1 GET (1) /extjs.html -- 403


### Other Logs

_No response_
mreid-tt commented 1 year ago

I've tried to replicate your issue with a fresh installation but was unable to. My install log looks virtually identical to yours: https://pastebin.com/SMeenMms. Checking my service log it also looks pretty much the same (with the exception of the last line): https://pastebin.com/7aQLwdbP.

As far as the superuser file mentioned, this does not seem to be required since the app is working and the file is not present in my setup:

ls -lah /var/packages/tvheadend/var/
total 20K
drwxr-xr-x 1 sc-tvheadend synocommunity  192 Jan  1 09:40 .
drwxr-xr-x 1 root         root           116 Jan  1 09:38 ..
drwx------ 1 sc-tvheadend synocommunity   64 Jan  1 09:39 accesscontrol
drwx------ 1 sc-tvheadend synocommunity  832 Jan  1 09:39 bouquet
drwx------ 1 sc-tvheadend synocommunity   64 Jan  1 09:39 caclient
drwx------ 1 sc-tvheadend synocommunity  256 Jan  1 09:39 codec
-rw------- 1 sc-tvheadend synocommunity 1.6K Jan  1 09:40 config
drwx------ 1 sc-tvheadend synocommunity   12 Jan  1 09:39 dvr
drwxr-xr-x 1 sc-tvheadend synocommunity   24 Jan  1 09:39 epggrab
-rw-r--r-- 1 sc-tvheadend synocommunity   11 Jan  1 09:39 .lock
drwxr-xr-x 1 sc-tvheadend synocommunity   26 Jan  1 09:39 pip-cache
drwx------ 1 sc-tvheadend synocommunity  448 Jan  1 09:39 profile
-rw-r--r-- 1 sc-tvheadend synocommunity 7.4K Jan  1 09:39 tvheadend.log
-rw-r--r-- 1 sc-tvheadend synocommunity    5 Jan  1 09:39 tvheadend.pid

This may seem simple but have you tried rebooting your NAS as well as accessing the web interface using a private window or in incognito mode (to eliminate all cached cookies)?

As a final thought you can also take a look at the permissions on the source files for the webui. They should look like this if it's a fresh installation:

ls -all /var/packages/tvheadend/target/share/tvheadend/src/webui/static/extjs/
total 2024
drwxr-xr-x 1 sc-tvheadend synocommunity     100 Nov 28 20:59 .
drwxr-xr-x 1 sc-tvheadend synocommunity     340 Nov 28 20:59 ..
drwxr-xr-x 1 sc-tvheadend synocommunity       6 Nov 28 20:59 adapter
drwxr-xr-x 1 sc-tvheadend synocommunity       4 Nov 28 20:59 examples
-rw-r--r-- 1 sc-tvheadend synocommunity 1370541 Nov 28 21:34 ext-all-debug.js
-rw-r--r-- 1 sc-tvheadend synocommunity  699742 Nov 28 21:34 ext-all.js
drwxr-xr-x 1 sc-tvheadend synocommunity      18 Nov 28 20:59 resources
mattmary commented 1 year ago

Hello,

I think this is a browser problem: after reinstalling, I probably was authenticated. Instead of setting up my credentials, I just clicked on the sign in button with any credentials and tvheadend opened.