I have noticed that my Notifications settings are emptied every time daemon is restarted (computer reboot / daemon crash).
Running Deluge 1.3.15 both on client and on server on macOS (server 10.14.3 and client 10.14.4).
Has anybody else seen this happening?
(Also every setting in plugin YaRSS2 is emptied at daemon restart).
Notifications settings lost when daemon is restarted
Re: Notifications settings lost when daemon is restarted
Sounds like maybe a permission issue when saving the profile files. Do you have write permissions there?
They are saved in your home folder, so seems odd that you would not be able to.
~/.config/deluge
They are saved in your home folder, so seems odd that you would not be able to.
~/.config/deluge
Re: Notifications settings lost when daemon is restarted
Directory deluge is owned by myusername:staff and has rights 700. All the files are also owned by myusername:staff and have rights 644 (auth has 600).
I have a feeling that this behavior started after I updated my Mac to Mojave and it forced my boot HDD to be converted to APFS.
I have a feeling that this behavior started after I updated my Mac to Mojave and it forced my boot HDD to be converted to APFS.
Re: Notifications settings lost when daemon is restarted
I have manually messed with my permissions, but mine are user and group = myusername, 755 for the deluge folder and all folders inside of it, 644 for all of the config files inside of .deluge.
My other computer looks to be setup with username and group of deluge, 750 for deluge folder, 664 for the files inside the deluge folder.
Try changing some settings around and see if your config files are getting updated.
My other computer looks to be setup with username and group of deluge, 750 for deluge folder, 664 for the files inside the deluge folder.
Try changing some settings around and see if your config files are getting updated.
Re: Notifications settings lost when daemon is restarted
I have don some checking and this is what I found out:
Before boot:
After boot:
BUT:
and then after setting all the values:
So Deluge is able to update config files but does not read them at start?
Apple's APFS causes also other headaches, so I think I'll move Deluge to a Linux virtual machine.
Before boot:
Code: Select all
-rw-r--r-- 1 pete staff 534 Mar 24 16:26 notifications-core.conf
Code: Select all
srv-media01:deluge pete$ cat notifications-core.conf
{
"file": 1,
"format": 1
}{
"smtp_recipients": [
“x@x.x”
],
"file": 1,
"smtp_enabled": true,
"subscriptions": {
"email": [
"AutoaddOptionsChangedEvent",
"GtkUILogMessageEvent",
"TorrentFinishedEvent",
"YARSSConfigChangedEvent"
]
},
"format": 1,
"smtp_port": 587,
"smtp_host": "smtp.gmail.com",
"smtp_from": “x@x.x”,
"smtp_user": “x@x.x”,
"smtp_pass": “xxxxxx”,
"smtp_tls": true
Code: Select all
-rw-r--r-- 1 pete staff 534 Mar 24 16:26 notifications-core.conf
Code: Select all
srv-media01:deluge pete$ cat notifications-core.conf
{
"file": 1,
"format": 1
}{
"smtp_recipients": [
“x@x.x”
],
"file": 1,
"smtp_enabled": true,
"subscriptions": {
"email": [
"AutoaddOptionsChangedEvent",
"GtkUILogMessageEvent",
"TorrentFinishedEvent",
"YARSSConfigChangedEvent"
]
},
"format": 1,
"smtp_port": 587,
"smtp_host": "smtp.gmail.com",
"smtp_from": “x@x.x”,
"smtp_user": “x@x.x”,
"smtp_pass": “xxxxxx”,
"smtp_tls": true
and then after setting all the values:
Code: Select all
-rw-r--r-- 1 pete staff 536 Mar 30 08:43 notifications-core.conf
Apple's APFS causes also other headaches, so I think I'll move Deluge to a Linux virtual machine.
Re: Notifications settings lost when daemon is restarted
Can you enable logging to check for errors?
Re: Notifications settings lost when daemon is restarted
Here's the log from running /Applications/Deluge.app/Contents/MacOS/Deluge -L debug -l /Users/pete/Temp/deluge.log, checking that Notifications settings are empty and closing (Quit & Shutdown daemon) Deluge.
- Attachments
-
- deluge.log
- (18.44 KiB) Downloaded 586 times
Re: Notifications settings lost when daemon is restarted
Tried to move deluge server from macOS to a virtual Ubuntu 18.10 that was already running on one of my virtual servers and also that resets the Notifications and YaRSS2 settings when the daemon is restarted.