Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headphones - Failed to Run Package service #5457

Closed
1 task done
GuyManning opened this issue Oct 18, 2022 · 5 comments · Fixed by #5488
Closed
1 task done

Headphones - Failed to Run Package service #5457

GuyManning opened this issue Oct 18, 2022 · 5 comments · Fixed by #5488
Assignees
Labels

Comments

@GuyManning
Copy link

Is this a new Bug?

  • I checkd that the bug hasn't been reported before

Package Name

Headphones

Package Version

20200804-10

Device Model

NAS SYNOLOGY DS216se

Device Architecture

x86_64

Firmware Version

DSM 6.2.4-25556 Update 6

What happened?

After update i cannot get Headphones to RUN
Get 'Failed to run package service' errors

Reproduction steps

1. Go to Package Centrw
2. Find Headphones
3. Click on RUN
...

Install Log

Where is this found on DSM?

Service Log

Gone to Support app...which Service Log do you want?

Other Logs

No response

@GuyManning GuyManning added the bug label Oct 18, 2022
@GuyManning
Copy link
Author

Also installed same latest version on my newer DS718+ (DSM 6.2.4-25556 Update 6)
HEADPHONES will not run with same error message

image

@th0ma7
Copy link
Contributor

th0ma7 commented Oct 21, 2022

This package hasn't been ported to DSM7 yet. You can follow the package status here #4524

@GuyManning
Copy link
Author

Thanks, so the new NAS is out for now, but still want a solution to my DSM 6 box please
Wrote to developer who says its a ‘package ’issue so he cannot do anything about it

@hgy59
Copy link
Contributor

hgy59 commented Nov 13, 2022

@GuyManning I have no issues to install this package on DS-218 (aarch64-6.1)

you find the installation log in
/var/log/packages/headphones.log

please compare your log files with mine below

ash-4.3# cat /var/log/packages/headphones.log
2022/11/13 16:27:02     install headphones 20200804-10 Begin preinst
2022/11/13 16:27:02     install headphones 20200804-10 End preinst ret=[0]
2022/11/13 16:27:02     install headphones 20200804-10 Begin /bin/rm -rf /volume1/@appstore/headphones
2022/11/13 16:27:02     install headphones 20200804-10 End /bin/rm -rf /volume1/@appstore/headphones ret=[0]
2022/11/13 16:27:02     install headphones 20200804-10 Begin /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/headphones
2022/11/13 16:27:02     install headphones 20200804-10 End /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/headphones ret=[0]
2022/11/13 16:27:02     install headphones 20200804-10 Begin /bin/rm -rf /var/packages/headphones
2022/11/13 16:27:02     install headphones 20200804-10 End /bin/rm -rf /var/packages/headphones ret=[0]
2022/11/13 16:27:02     install headphones 20200804-10 Begin /bin/mkdir -p /var/packages/headphones
2022/11/13 16:27:02     install headphones 20200804-10 End /bin/mkdir -p /var/packages/headphones ret=[0]
2022/11/13 16:27:02     install headphones 20200804-10 Begin /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/headphones/INFO
2022/11/13 16:27:02     install headphones 20200804-10 End /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/headphones/INFO ret=[0]
2022/11/13 16:27:02     install headphones 20200804-10 Begin /bin/rm -rf /var/packages/headphones/scripts
2022/11/13 16:27:02     install headphones 20200804-10 End /bin/rm -rf /var/packages/headphones/scripts ret=[0]
2022/11/13 16:27:02     install headphones 20200804-10 Begin /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/headphones/scripts
2022/11/13 16:27:02     install headphones 20200804-10 End /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/headphones/scripts ret=[0]
2022/11/13 16:27:02     install headphones 20200804-10 Begin /bin/rm -rf /var/packages/headphones/WIZARD_UIFILES
2022/11/13 16:27:02     install headphones 20200804-10 End /bin/rm -rf /var/packages/headphones/WIZARD_UIFILES ret=[0]
2022/11/13 16:27:02     install headphones 20200804-10 Begin /bin/mv -f /volume1/@tmp/pkginstall/WIZARD_UIFILES /var/packages/headphones/WIZARD_UIFILES
2022/11/13 16:27:02     install headphones 20200804-10 End /bin/mv -f /volume1/@tmp/pkginstall/WIZARD_UIFILES /var/packages/headphones/WIZARD_UIFILES ret=[0]
2022/11/13 16:27:02     install headphones 20200804-10 Begin /bin/rm -rf /var/packages/headphones/conf
2022/11/13 16:27:02     install headphones 20200804-10 End /bin/rm -rf /var/packages/headphones/conf ret=[0]
2022/11/13 16:27:02     install headphones 20200804-10 Begin /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/headphones/conf
2022/11/13 16:27:02     install headphones 20200804-10 End /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/headphones/conf ret=[0]
2022/11/13 16:27:03     install headphones 20200804-10 Begin postinst
delgroup: can't find headphones in /etc/group
deluser: unknown user headphones
2022/11/13 16:27:31     install headphones 20200804-10 End postinst ret=[0]
2022/11/13 16:27:31     install headphones 20200804-10 Begin /bin/rm -rf /volume1/@tmp/pkginstall
2022/11/13 16:27:31     install headphones 20200804-10 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0]
2022/11/13 16:27:41     install headphones 20200804-10 Begin start-stop-status start
Starting headphones ...
2022/11/13 16:27:51     install headphones 20200804-10 End start-stop-status start ret=[0]

further log files:

ash-4.3# cat /var/packages/headphones/target/var/headphones.log
Sun Nov 13 16:27:41 CET 2022
Starting headphones command /volume1/@appstore/headphones/env/bin/python /volume1/@appstore/headphones/share/Headphones/Headphones.py --daemon --pidfile /volume1/@appstore/headphones/var/headphones.pid --config /volume1/@appstore/headphones/var/config.ini --datadir /volume1/@appstore/headphones/var/
ash-4.3#
ash-4.3# cat /var/packages/headphones/target/var/headphones_install.log
Sun Nov 13 16:27:02 CET 2022
===> Step preinst. USER=headphones GROUP=sc-download SHARE_PATH=
Sun Nov 13 16:27:03 CET 2022
===> Step postinst. USER=headphones GROUP=sc-download SHARE_PATH=
Installing service configuration /var/packages/headphones/conf/headphones.sc
Adding 'sc-headphones' to 'sc-download'
Group Name: [sc-download]
Group Type: [AUTH_LOCAL]
Group ID:   [286681]
Group Members:
0:[sc-radarr]
1:[sc-lidarr]
2:[sc-headphones]
Invoke service_postinst
New python executable in /volume1/@appstore/headphones/env/bin/python
Installing setuptools, pip, wheel...
done.
ash-4.3# cat /var/packages/headphones/target/var/logs/headphones.log
13-Nov-2022 16:27:47 - INFO    :: MainThread : Checking to see if the database has all tables....
13-Nov-2022 16:27:50 - INFO    :: MainThread : Retrieving latest version information from GitHub
13-Nov-2022 16:27:50 - INFO    :: MainThread : Comparing currently installed version with latest GitHub version
13-Nov-2022 16:27:51 - INFO    :: MainThread : New version is available. You are 54 commits behind
13-Nov-2022 16:27:51 - INFO    :: MainThread : Daemonized to PID: 10399
13-Nov-2022 16:27:51 - INFO    :: MainThread : Writing PID 10399 to /volume1/@appstore/headphones/var/headphones.pid
13-Nov-2022 16:27:51 - INFO    :: MainThread : Starting Headphones web server on http://0.0.0.0:8181/
13-Nov-2022 16:27:52 - INFO    :: MainThread : Scheduled background task: Search for Wanted
13-Nov-2022 16:27:52 - INFO    :: MainThread : Scheduled background task: Download Scan
13-Nov-2022 16:27:52 - INFO    :: MainThread : Scheduled background task: Library Scan
13-Nov-2022 16:27:52 - INFO    :: MainThread : Scheduled background task: MusicBrainz Update
13-Nov-2022 16:27:52 - INFO    :: MainThread : Scheduled background task: Check GitHub for updates

@hgy59 hgy59 self-assigned this Nov 13, 2022
@hgy59
Copy link
Contributor

hgy59 commented Nov 13, 2022

After internal package update, headphones does not run anymore (the version in the package is 54 commits behind the actual version), as the actual version needs at least python3.7 and the current package still depends on python 2.7.
So we definitifly need an update of the headphones package.

ash-4.3# cat /var/packages/headphones/target/var/headphones.log
Sun Nov 13 16:42:23 CET 2022
Starting headphones command /volume1/@appstore/headphones/env/bin/python /volume1/@appstore/headphones/share/Headphones/Headphones.py --daemon --pidfile /volume1/@appstore/headphones/var/headphones.pid --config /volume1/@appstore/headphones/var/config.ini --datadir /volume1/@appstore/headphones/var/
Headphones requires Python >= 3.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants