mirror of
https://github.com/007revad/Video_Station_for_DSM_722.git
synced 2026-04-25 08:15:54 +03:00
[GH-ISSUE #94] False positive "ERROR Starting Video Station failed!" (line 432) although service runs #35
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Video_Station_for_DSM_722#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HaukeMEYN on GitHub (Jan 10, 2026).
Original GitHub issue: https://github.com/007revad/Video_Station_for_DSM_722/issues/94
Hello,
I'm using script v1.4.19 on a DS920+ with DSM 7.3.2-86009 (geminilake x86_64) as a scheduled task after reboots to assure the VideoStation is running (also after a restart following an automatic version update that would uninstall VideoStation).
Problem:
The script reports after successful execution:
Line 432: ERROR Starting Video Station failed!
progstatus called from package_start line 537
Task Scheduler Status: 1 (Interrupted)
Log excerpt:
Video_Station_for_DSM_722 v1.4.19
DS920+ DSM 7.3.2-86009
CPU geminilake x86_64
Running from: /volume1/backup/HW/Synology_DS920+/Migraton/Video_Station_for_DSM_722-1.4.19/videostation_for_722.sh
Using CPU type: x86_64
Advanced Media Extensions 30.1.0-3005 already installed
Video Station 30.1.0-3153 already installed
Media Server 20.0.5-3152 already installed
Starting Video Station.
Line 432: ERROR Starting Video Station failed!
Observation:
synopkg status VideoStationshows "running".Suspected cause:
The
synopkg start VideoStationcommand returns exit code 1 because Video Station was already started automatically by DSM before the script runs. Theprogstatusfunction treats any !=0 exit code as an error.Suggestion:
package_start VideoStation, check:if ! synopkg status VideoStation | grep -q "running"Could you improve the check so the task status accepts if VideoStation is already running and so to show "Finished" instead of "Interrupted" as this triggers a failure report that itself triggers server error handling across the installed devices?
Thank you!
@007revad commented on GitHub (Jan 10, 2026):
If the package is already installed the script just checks if it is installed and running with
synopkg is_onoff videostationwhich only returns 0 or 1.The false error is caused by the script not checking if the package is currently starting.
I've just found that in DSM 7.2 and later when a package is starting
synopkg status <pkg-name>returns 55. DSM 7.1 and 6.x returns 4 (though that's not relevant for this script).Can you try v1.4.20
https://github.com/007revad/Video_Station_for_DSM_722/releases/tag/v1.4.20
@HaukeMEYN commented on GitHub (Jan 12, 2026):
Many thanks for the investigation and the very clear synopsis. Upon reading it, I'm quite confident this will resolve the issue. In any case, I've installed the updated script and will monitor the logs for a few days before checking and reporting back.
@HaukeMEYN commented on GitHub (Jan 16, 2026):
The reported issues did not occur anymore. Case closed.