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
Transmission files are in the wrong place following failed upgrade #103
Comments
Permissions for the
Can you share your permissions? |
|
Same here :( I found this in the journalctl, I found this in the journalctl, the configuration / torrent path was changed with the update ?
|
I found this in the update logs 🤔
|
I think the upgrade is supposed to move the folder /home/yunohost.transmission to /home/yunohost.app/transmission. Because it failed it restored previous config that still expects stuff in the former while it was move to the latter, something like that. I fixed the rights to match what you showed @ericgaspar , afterwards can I safely attempt the upgrade again? Is there a risk that it will erase what’s in /home/yunohost.app/transmission? |
Hi, I'm also having issues since the upgrade that moved
I tried changing permissions in various ways, then I reset them to what @ericgaspar said. I notice there are ACLs, could something be wrong with them?
I checked that In the settings, I updated I also changed Nothing worked. What can I do? Fun fact: after the upgrade I had a folder |
I don't understand anything at all ... I went to see the configuration file that was changed according to the log of the update and it does not correspond to the current configuration of folder paths, it's nonsense ...
But in the configuration file we find So I updated the lines in |
It seems I solved my problem by uninstalling and reinstalling Transmission, and deleting |
ah yes... |
Hi, the last update Thanks @ericgaspar ! |
The upgrade worked this time and transmission is starting. Torrents are not finding their data and using "Set Location" does not seem to work. Maybe I still have a rights problem. Also, the symlink in |
Oh, managed to fix existing torrents. |
For those with the same location problem, I used this in the end: for i in (transmission-remote http://127.0.0.1:9091/torrent/transmission/rpc -l|grep Stopped|cut -d"*" -f1|awk '{$1=$1};1')
transmission-remote http://127.0.0.1:9091/torrent/transmission/rpc -t $i --find (transmission-remote http://127.0.0.1:9091/torrent/transmission/rpc -t $i -i|grep Location:|cut -d":" -f2|awk '{$1=$1};1'|sed -e 's@yunohost.transmission@yunohost.app/transmission@')
end It’s a fish script ( https://fishshell.com/ ) so you’ll have to adapt it for bash. I still have the problem with the multimedia share folder, otherwise all is good. |
Should be fixed. Thanks @MCMic for the tricks. |
Describe the bug
I tried to upgrade but it failed (see logs below).
Now transmission has been restored but has all torrents as errors because of missing data.
/home/yunohost.transmission/completed/
exists but is empty/home/yunohost.app/transmission/completed
contains the data but I am not sure the rights are correct (I can only list it as root, not as my user, maybe that’s expected.Links in
/home/<user>/Multimedia/Share/torrent/completed
points to/home/yunohost.transmission/completed
How can I fix the situation, run the upgrade and recover access to the files?
Context
Logs
https://paste.yunohost.org/raw/mofeyucele (I removed usernames and replaced with ***)
The text was updated successfully, but these errors were encountered: