Prompt to update database message on upgrade does not make sense for a service #3141

Closed
opened 2026-02-21 16:36:14 -05:00 by deekerman · 4 comments
Owner

Originally created by @dsm1212 on GitHub (Sep 29, 2015).

I built/installed 3.3 beta of qbittorrent-nox. I have an init.d script which starts qbittorrent-nox piping output to /var/log/qbittorrent-nox.log using systemctl. Within seconds my root partition was full because this log contained a continuous reprompt for the question about whether the data files should be converted to the new version. I run this from a non-login account so I actually can't run interactively using these config files very easily. I had to modify the init.d script to pipe yes into qbittorrent-nox. I guess this is somewhat self-inflicted using systemctl, but this was pretty nasty to recover from. Honestly I don't think the prompt is necessary. If I'm running it, just upgrade the files. Copy them aside maybe so the originals don't get lost. Much better in my opinion.

thanks

Originally created by @dsm1212 on GitHub (Sep 29, 2015). I built/installed 3.3 beta of qbittorrent-nox. I have an init.d script which starts qbittorrent-nox piping output to /var/log/qbittorrent-nox.log using systemctl. Within seconds my root partition was full because this log contained a continuous reprompt for the question about whether the data files should be converted to the new version. I run this from a non-login account so I actually can't run interactively using these config files very easily. I had to modify the init.d script to pipe yes into qbittorrent-nox. I guess this is somewhat self-inflicted using systemctl, but this was pretty nasty to recover from. Honestly I don't think the prompt is necessary. If I'm running it, just upgrade the files. Copy them aside maybe so the originals don't get lost. Much better in my opinion. thanks
Author
Owner

@ngosang commented on GitHub (Nov 6, 2015):

@sledgehammer999 ping.

@ngosang commented on GitHub (Nov 6, 2015): @sledgehammer999 ping.
Author
Owner

@sledgehammer999 commented on GitHub (Nov 9, 2015):

I think we should auto-migrate on nox builds.
@glassez better idea?

@sledgehammer999 commented on GitHub (Nov 9, 2015): I think we should auto-migrate on nox builds. @glassez better idea?
Author
Owner

@glassez commented on GitHub (Nov 9, 2015):

better idea?

No. Except that to copy the old files somewhere before.

@glassez commented on GitHub (Nov 9, 2015): > better idea? No. Except that to copy the old files somewhere before.
Author
Owner

@dsm1212 commented on GitHub (Nov 19, 2015):

Thanks!

@dsm1212 commented on GitHub (Nov 19, 2015): Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#3141
No description provided.