Hello,
I have saved a rockstor config backup from Leap 15.3 4.5.5 on my phone and to my data share.
Then I’ve installed a fresh 15.4 4.5.5 on my system disk.
Rebooted.
When trying to upload the backup via phone Firefox it fails with an empty alert dialog:
Via Chrome nothing happens when I press the upload button.
I haven’t tried via PC yet.
When clicking Create backup it works on 2nd try. I have to press Create backup twice in order to see one row populated in the table.
If I try to overwrite the newly created backup with my backup via CLI, the row disappears after refreshing the page. It’s the same when using symbolic link.
2 Likes
Mark93
(Mark)
January 22, 2023, 6:58pm
2
Hey @aremiaskfa Is anything visible in the “Rockstor Logs” when you try to import the config (System -> Log Manager)?
2 Likes
EDIT: when I try to upload even a newly created backup on the PC, it says this:
The md5 mismatches were my sneaky way to get my backup to show up in the list.
Toggle navigation
Hostname: rockstor Mgmt IP: Local Time: 21:30 (+0100 CET) System ShellUptime: 07:56Linux: 5.14.21-150400.24.38-defaultUses openSUSE Leap
System
Services
Identity
Users
Groups
Access Keys
Network
Scheduled Tasks
Software Update
Appliances
SSL Certificate
Config Backups
Email Alerts
Logs Manager
System Shell
Logs Reader
Reading method:
tail -n 200
Log file:
Rockstor Logs
Logs Downloader :: compressed packet builder
Available Logs
Rockstor Logs
Supervisord (Process monitor)
Dmesg (Kernel)
Nmbd (Samba)
Smbd (Samba)
Winbindd (Samba)
Nginx access (WebUI)
Nginx error (WebUI)
Gunicorn (WebUI)
Gunicorn stdout (WebUI)
Gunicorn stderr (WebUI)
Zypper (System updates)
Logs Download Queue
×
Selected log: Rockstor Logs
Reader type: tail -n 200
Content Size: 5.19kB
Download full Log file
[22/Jan/2023 12:33:21] INFO [scripts.initrock:278] Normalising on shellinaboxd service file
[22/Jan/2023 12:33:21] INFO [scripts.initrock:286] - established shellinaboxd.service file
[22/Jan/2023 12:33:21] INFO [scripts.initrock:297] Establishing Rockstor nginx service override file
[22/Jan/2023 12:33:21] INFO [scripts.initrock:407] /etc/systemd/system/nginx.service.d/30-rockstor-nginx-override.conf up-to-date.
[22/Jan/2023 12:33:21] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor-pre.service up-to-date.
[22/Jan/2023 12:33:21] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor.service up-to-date.
[22/Jan/2023 12:33:21] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor-bootstrap.service up-to-date.
[22/Jan/2023 12:33:21] INFO [scripts.initrock:361] Systemd config altered, running daemon-reload
[22/Jan/2023 13:35:02] INFO [scripts.initrock:278] Normalising on shellinaboxd service file
[22/Jan/2023 13:35:02] INFO [scripts.initrock:282] - shellinaboxd.service already exists
[22/Jan/2023 13:35:02] INFO [scripts.initrock:297] Establishing Rockstor nginx service override file
[22/Jan/2023 13:35:02] INFO [scripts.initrock:407] /etc/systemd/system/nginx.service.d/30-rockstor-nginx-override.conf up-to-date.
[22/Jan/2023 13:35:02] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor-pre.service up-to-date.
[22/Jan/2023 13:35:02] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor.service up-to-date.
[22/Jan/2023 13:35:02] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor-bootstrap.service up-to-date.
[22/Jan/2023 13:36:20] ERROR [smart_manager.data_collector:994] Failed to update disk state… exception: OauthApp matching query does not exist.
[22/Jan/2023 13:36:20] ERROR [smart_manager.data_collector:994] Failed to update pool state… exception: OauthApp matching query does not exist.
[22/Jan/2023 13:36:20] ERROR [smart_manager.data_collector:994] Failed to update share state… exception: OauthApp matching query does not exist.
[22/Jan/2023 13:36:20] ERROR [smart_manager.data_collector:994] Failed to update snapshot state… exception: OauthApp matching query does not exist.
[22/Jan/2023 13:37:20] ERROR [smart_manager.data_collector:994] Failed to update disk state… exception: OauthApp matching query does not exist.
[22/Jan/2023 13:37:20] ERROR [smart_manager.data_collector:994] Failed to update pool state… exception: OauthApp matching query does not exist.
[22/Jan/2023 13:37:20] ERROR [smart_manager.data_collector:994] Failed to update share state… exception: OauthApp matching query does not exist.
[22/Jan/2023 13:37:20] ERROR [smart_manager.data_collector:994] Failed to update snapshot state… exception: OauthApp matching query does not exist.
[22/Jan/2023 13:52:21] ERROR [storageadmin.views.config_backup:576] md5sum mismatch for backup-2023-01-22-135146.json.gz. cbo: 1b99cdb8f8c6fa4b23cd63ede07415e4 file: e509e46f464ed1d99df16e6dbbb51bff. Deleting dbo.
[22/Jan/2023 13:52:56] ERROR [storageadmin.views.config_backup:576] md5sum mismatch for backup-2023-01-22-134336.json.gz. cbo: 55bb224351049cc6c0742d04217b7540 file: e509e46f464ed1d99df16e6dbbb51bff. Deleting dbo.
[22/Jan/2023 13:53:18] ERROR [storageadmin.views.config_backup:576] md5sum mismatch for backup-2023-01-22-135222.json.gz. cbo: c30c29e0531068309a35c8d8adc0ad01 file: e509e46f464ed1d99df16e6dbbb51bff. Deleting dbo.
[22/Jan/2023 13:56:48] ERROR [storageadmin.views.config_backup:576] md5sum mismatch for backup-2023-01-22-135221.json.gz. cbo: c30c29e0531068309a35c8d8adc0ad01 file: e509e46f464ed1d99df16e6dbbb51bff. Deleting dbo.
[22/Jan/2023 13:56:52] INFO [storageadmin.tasks:56] Now executing Huey task [restore_config], id: 69bfdce7-3359-49b0-9227-a3ee67b75e29.
[22/Jan/2023 13:56:52] ERROR [storageadmin.tasks:101] Task [restore_config], id: 69bfdce7-3359-49b0-9227-a3ee67b75e29 failed, Args: (3,), Kwargs: {}, ExceptionConfigBackup matching query does not exist.
[22/Jan/2023 13:58:10] ERROR [smart_manager.views.base_service:73] Exception while querying status of service(replication): Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
[22/Jan/2023 13:58:10] ERROR [smart_manager.views.base_service:74] Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/base_service.py”, line 64, in _get_status
o, e, rc = service_status(service.name, config)
File “/opt/rockstor/src/rockstor/system/services.py”, line 186, in service_status
return superctl(service_name, “status”)
File “/opt/rockstor/src/rockstor/system/services.py”, line 125, in superctl
out, err, rc = run_command([SUPERCTL_BIN, switch, service])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 227, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
Log reading progress
100.00%
phillxnet
(Philip Guyton)
January 23, 2023, 7:40pm
4
@aremiaskfa Thanks for yet another great report.
So it turns out we do have a bug in config restore, but alas it has yet to be tracked down. As time permits we should be able to creep-up on this one. Fancy creating a GitHub issue, identifying this bug in 4.5.5-0 so we have attribution come the time we find and fix this? We can then add it to the next Stable milestone as we definitely need this working!!
We need a reproducer on a clean system ideally. And from initial tests it simply fails to establish the upload of old file. Lets start with this bug point and once that is issued and fixed we can take it from there. Bit by bit.
Hope that helps, and thanks again for all the testing reports.
2 Likes
Flox
January 25, 2023, 8:54pm
6
This issue has now been fixed in Rockstor-4.5.6:
4.5.6-0
Released in Testing Channel updates on 25th January 2023.
Our third Stable Release Candidate
I’ll keep this release announcement short as I know there are folks in need of these fixes:
So 4.5.5-0 (RC2) had the disappointing but deep failure on config-upload. Bit of a show-stopper that one; but no matter as it’s fixed now in this next release. Thanks to the rapid and rabid work of our intrepid forum admin @Flox and newly active forum member @aremiaskfa . Thanks to you both for jumping on…
Thanks to all for your help, feedback, and testing efforts!
2 Likes