Orbi WiFi 7 RBE973
Reply

Amazon S3 Sync Fails - DATABASE_EXCEPTION

Impulse007
Aspirant

Amazon S3 Sync Fails - DATABASE_EXCEPTION

I recently enabled Amazon S3 cloud backup on my ReadyNAS running 6.10.2. Everything worked fine for a few hours and then I started seeing the following error in amazon-s3.log.

 

Mar 11 10:02:21 NAS ng-csd[24563]: E0311 10:02:21.694487 24563 SyncEngine.cpp:715] Faild to get changes. DATABASE_EXCEPTION: Read only: attempt to write a readonly database
Mar 11 10:02:21 NAS ng-csd[24563]: E0311 10:02:21.694558 24563 SyncEngine.cpp:1592] Failed to downsync changes. DATABASE_EXCEPTION: Read only: attempt to write a readonly database
Mar 11 10:02:21 NAS ng-csd[24563]: Failed to cache node to snapshot. node = Node metadata: { id = shared/, isFolder = 1, isTrashed = 0, name = shared/, localName = shared/, path = /shared, mimeType = , size = 0, createdTime = 2020-03-10T03:10:23.000000Z, modifiedTime = 2020-03-10T03:04:24.000000Z, checksum = d41d8cd98f00b204e9800998ecf8427e, parentId = , isShared = 0, oneDrive = OneDriveSpecific: { driveId = , isRemote = 0, remoteId = , remoteDriveId =  } }, DATABASE_EXCEPTION: Read only: attempt to write a readonly database
Mar 11 10:02:21 NAS ng-csd[24563]: Faild to get changes. DATABASE_EXCEPTION: Read only: attempt to write a readonly database
Mar 11 10:02:21 NAS ng-csd[24563]: Failed to downsync changes. DATABASE_EXCEPTION: Read only: attempt to write a readonly database

On the Cloud configuration tab the "Amazon S3" section has a green icon next to it thinking everything is synced properly but after checking my Amazon S3 bucket I can see files are missing.

 

I'm assuming the DATABASE_EXCEPTION is coming from the ReadyNAS side but I'm sure how to ultimately fix the permission issue. Any input you can provided would be appreciated.

 

Thanks,

Matt

Message 1 of 5
Impulse007
Aspirant

Re: Amazon S3 Sync Fails - DATABASE_EXCEPTION

I just tried to turn off and turn back on Amazon S3 and now I see the following error in amazon-s3.log

 

Mar 11 10:22:05 NAS systemd[1]: Stopping Amazon Web Service S3 client for ReadyNAS...
Mar 11 10:22:05 NAS systemd[1]: Stopped Amazon Web Service S3 client for ReadyNAS.
Mar 11 10:22:12 NAS systemd[1]: Started Amazon Web Service S3 client for ReadyNAS.
Mar 11 10:22:12 NAS ng-csd[18014]: Reset the cache. Invalid SQL statement: no such table: settings: no such table: settings
Mar 11 10:22:12 NAS ng-csd[18014]: W0311 10:22:12.526535 18014 FSCache.cpp:78] Reset the cache. Invalid SQL statement: no such table: settings: no such table: settings
Message 2 of 5
Marc_V
NETGEAR Employee Retired

Re: Amazon S3 Sync Fails - DATABASE_EXCEPTION

@Impulse007

 

Welcome to the Community!

 

Can you send me a link to download the full logs of your NAS? You can PM it to me.

 

Regards

Message 3 of 5
ftejada
Aspirant

Re: Amazon S3 Sync Fails - DATABASE_EXCEPTION

I have the same problem. There are some solution?
Message 4 of 5
Impulse007
Aspirant

Re: Amazon S3 Sync Fails - DATABASE_EXCEPTION

I ended up upgrading from 6.10.2 to 6.10.3. I also recreated my Amazon S3 settings and now everything appears to be working.

 

I'm not sure what the earlier error was about but now it appears to be fine that I'm running 6.10.3.

 

-Matt

Message 5 of 5
Top Contributors
Discussion stats
  • 4 replies
  • 1625 views
  • 0 kudos
  • 3 in conversation
Announcements