You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear developers, I wish you a happy new year 2024! and at the same time I'd like to share with you the problem I recently encountered.
After running the urbackup_api_test.py script, the global parameters of my Urbackup instance ended up with numerous json arrays instead of the expected valid data.
I described the problem on the Urbackup user forum. The valid data had been replaced by json tables, like this:
Default directories to back up: /etc; /root; /home
instead of:
Default directories to back up: {'value': '/etc;/home;/root'}
What's unusual is that the problem was propagated to all Internet clients (and not to clients on the local network). For example, one client's group authentication key became internet_authkey.group={'value': 'Fg5YCmMtyV'} instead of internet_authkey.group='Fg5YCmMtyV'.
Is it possible that it was really the script that caused the damage? if so, it needs to be corrected urgently...
For my part, I've completely reinstalled the Urbackup Server instance.
subsidiary question: would restoring the settings table in the backup_server_settings.db database have made it possible to go back?
Thanks in advance for your feedback.
Ernest.
The text was updated successfully, but these errors were encountered:
I think I'm encountering this problem, too. I'm trying to use this package to reliably reproduce the global settings. I tried resetting the settings by removing the {'value': <data>} wrapper before calling set_global_setting, but that didn't fix things. Since that method fetches the settings (which have those dictionaries with "value" keys) and modifies that dict, then sends it back to the server, maybe I shouldn't have expected it to solve my solutions.
I speculate that if I save all the settings through the API at once, without the extra dictionaries, at least some of my settings will be repaired.
Dear developers, I wish you a happy new year 2024! and at the same time I'd like to share with you the problem I recently encountered.
After running the urbackup_api_test.py script, the global parameters of my Urbackup instance ended up with numerous json arrays instead of the expected valid data.
I described the problem on the Urbackup user forum. The valid data had been replaced by json tables, like this:
Default directories to back up:
/etc; /root; /home
instead of:
Default directories to back up:
{'value': '/etc;/home;/root'}
What's unusual is that the problem was propagated to all Internet clients (and not to clients on the local network). For example, one client's group authentication key became
internet_authkey.group={'value': 'Fg5YCmMtyV'}
instead ofinternet_authkey.group='Fg5YCmMtyV'
.Here’s a pastebin link where you’ll find a trace of the API test script execution a few days ago. 🙄
Is it possible that it was really the script that caused the damage? if so, it needs to be corrected urgently...
For my part, I've completely reinstalled the Urbackup Server instance.
subsidiary question: would restoring the settings table in the backup_server_settings.db database have made it possible to go back?
Thanks in advance for your feedback.
Ernest.
The text was updated successfully, but these errors were encountered: