Skip to content

bug: Cannot sync with server after romm_db restoration #1560

Description

@ZeroBoust

What happened

Hello, I had been using decky-romm-sync plugin until some weeks ago just fine.

I decided to upgrade my instance to RomM 5.0 beta, but I encountered some issues and had to roll back to 4.9.x. In the process, because of some errors triggered by DB migrations, I had to wipe it out and start fresh - new database but rest of the files (ROms, saves) were restored from backup.

Since then, and continuing now in official RomM 5.0, I cannot launch games or sync savedata because the plugin says server is offline.
Obviously this is not right, as library sync and user signups work fine.

Then I noticed the error digging a bit into the logs. It seems the device ID was nuked with the DB reset, and as it is not found now, the error is triggered. I also tried wiping out completely the plugin and reinstalling, but no luck so far. And forcing a POST into RomM API wouldn't help, as the ID is randomly created and the plugin would expect the same previous value.

Plugin version

0.29.0

Repro steps

No response

Expected behavior

No response

RetroDECK version

No response

Decky Loader version

Current latest

Log excerpt

[2026-07-22 15:02:45,558][INFO]: RomM server version: 5.0.0
[2026-07-22 15:02:46,612][WARNING]: get_save_setup_info(84): failed to list server saves: HTTP 404: Not Found (GET https://MY_SERVER_URL/api/saves?rom_id=84&device_id=142610f8-d440-482e-9707-98f7a51a14dc)
[2026-07-22 15:03:01,561][INFO]: RomM server version: 5.0.0
[2026-07-22 15:03:01,565][WARNING]: get_save_setup_info(84): failed to list server saves: HTTP 404: Not Found (GET https://MY_SERVER_URL/api/saves?rom_id=84&device_id=142610f8-d440-482e-9707-98f7a51a14dc)
[2026-07-22 15:03:02,388][WARNING]: get_save_setup_info(84): failed to list server saves: HTTP 404: Not Found (GET https://MY_SERVER_URL/api/saves?rom_id=84&device_id=142610f8-d440-482e-9707-98f7a51a14dc)
[2026-07-22 15:03:15,111][WARNING]: get_save_setup_info(84): failed to list server saves: HTTP 404: Not Found (GET https://MY_SERVER_URL/api/saves?rom_id=84&device_id=142610f8-d440-482e-9707-98f7a51a14dc)
[2026-07-22 15:03:27,488][INFO]: RomM server version: 5.0.0
[2026-07-22 15:03:59,409][INFO]: RomM server version: 5.0.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions