-
Confirmation
The problemI'm running the container using the docker compose shared and once sync is finished, my synology NAS is sending me a notification with "Container plextraktsync stopped unexpectedly. Go to Container Manager for more information." There are no errors and the syncs completes successfully but it seems that container closes abruptly. Error trace / logsNo response Expected behaviorStop the container without getting a notification. Steps to reproduce the behaviorDocker compose on synology NAS will reproduce this. Inspect of problematic itemsNo response WorkaroundsNo response Install methoddocker-compose Config file contentsNo response Version0.27.16 Python Version3.12.1 Plex Server Versionv.1.32.8.7639-fb6452ebf Operating System and VersionDSM 7.2.1-69057 Update 3 |
Beta Was this translation helpful? Give feedback.
Replies: 16 comments
-
Not reproducible. Provide logs and details from your system. How we're supposed to help if you provide no info other than just your word? Show your problem! |
Beta Was this translation helpful? Give feedback.
-
Sorry, other than the warnings it seemed like everything is working as it should. compose:
Here's the log: (Please let me know if you need anything else.)
|
Beta Was this translation helpful? Give feedback.
-
unfortunately, that is still not useful. how are you invoking the command? how you obtained the logs? seems to be log of different runs? also you said you enabled debug, but not even shared debug logs. |
Beta Was this translation helpful? Give feedback.
-
I'm not invoking a command, I just start the container using the Synology DSM UI or via SSH
|
Beta Was this translation helpful? Give feedback.
-
you can upload text files to github issue. drag, drop or select them. be sure to use supported extension like .txt |
Beta Was this translation helpful? Give feedback.
-
where is that "Container plextraktsync stopped unexpectedly" appearing? your compose file is configured to run "sync" command. that will exit process once sync is complete.what does docker inspect say for the exited container? run the command without |
Beta Was this translation helpful? Give feedback.
-
Container with succesfull PTS sync is supposed to exit with |
Beta Was this translation helpful? Give feedback.
-
@glensc In your first comment you wrote "Not reproducible" so I was under the impression that you are also on Synology DSM. It shows up on the Synology OS, also sends an email about it. Unfortunately there's no way for me to disable these just for one container. Disabling these alerts would mean stop getting alerts about containers that stopped. Running the command without |
Beta Was this translation helpful? Give feedback.
-
does |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
or adjust "sleep 10" with approximate time the plextraktsync container ran? I don't see why would it consider unexpected close if it exited with 0. also show |
Beta Was this translation helpful? Give feedback.
-
It seems that for |
Beta Was this translation helpful? Give feedback.
-
Nothing suspicous in inspect output. I personally don't use if you don't want to re-create container for next run, you could keep the container "up" by having it run "sleep infinity" command, and then execute plextraktsync commands with |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help. It behaves the same without the |
Beta Was this translation helpful? Give feedback.
-
Don't forget to close issue and post solution for other users. |
Beta Was this translation helpful? Give feedback.
-
Couldn't figure out this beaviour.
I've recreated the container and now runs it only from the scheduler using |
Beta Was this translation helpful? Give feedback.
Couldn't figure out this beaviour.
docker-compose up -d
-> No alertdocker start plextraktsync
-> No alertrun container from the UI -> Alert
Then again
docker start plextraktsync
-> Alert (??)I've recreated the container and now runs it only from the scheduler using
docker start plextraktsync
- No alerts so far.If the alerts will return I'll use
docker-compose run --rm plextraktsync sync
which never showed me the alert.