I’ve been able to get emailed errorlogs to come to me from my rocstor installation - I’ve received this when the scheduled snapshot runs:
Traceback (most recent call last):
File “/opt/rockstor/bin/st-snapshot”, line 45, in
File “/opt/rockstor/src/rockstor/scripts/scheduled_tasks/snapshot.py”, line 95, in main
File “/opt/rockstor/src/rockstor/scripts/scheduled_tasks/snapshot.py”, line 39, in validate_snap_meta
AttributeError: ‘int’ object has no attribute ‘isdigit’
My weekly (friday) last run was May 17th 2019, 1:00:00 am - it had managed to get snapshots on 10th and 17th, but has failed for the last two weeks.
The schedule parameters are:
Task name: MEDIA_Weekly
Task type: snapshot
Share name: MEDIA
Snapshot prefix: MEDIA_SNAPSHOT_
Maximum count * 5
Make snapshots writable? No
Make snapshots visible? Yes
Enable task? yes
Task frequency Every week on Friday at 01:00
Logging into the server, and looking at the directory:
[root@rockstor_home ~]# cd /mnt2/MEDIA/
[root@rockstor_home MEDIA]# ls -al
drwxrwxr-x 1 carl carl 164 May 17 01:00 .
drwxr-xr-x 1 root root 364 May 17 12:57 …
drwxr-xr-x 1 root carl 430 May 11 20:17 Books
drwxr-xr-x 1 root carl 20 May 6 18:47 Christmas
drwxrwxr-x 1 carl carl 48 May 6 18:57 .MEDIA_SNAPSHOT__201905100100
drwxrwxr-x 1 carl carl 106 May 10 20:00 .MEDIA_SNAPSHOT__201905170100
drwxr-xr-x 1 root carl 1666 May 14 18:48 Music
drwxr-xr-x 1 root carl 212 May 12 19:23 VIDEO
Checking through rockstor.log and /var/log, I don’t see anything that is standing out…
Happy to do further checking…
Bit of background - I’m thinking of implementing rockstor in a church office, replacing my home-grown similar, but clunky non-web interface system - the stability / reliability of scheduled snapshots is the critical element that needs to work…
Version: 22.214.171.124 - stable.
Hope that’s ok.