Unknown deployment error: SyntaxError

I have two new servers that are both on the latest versions of OttoFMS and FMS 2023 running on Win Server 2022. Both failed last night with the same SyntaxError. It occurred immediately after the migration completed and during the backup process.

It said “Original files are unmodified” but it failed to reopen the original files, some of which were missing in the FMS databases folder. One file turned out to be corrupt and returned a “File not modifiable” error.

Both migrations had corrupt backup-meta.json files. I tried different deployments with different sets of files and they all produced a bad backup-meta file.

Has anyone run into this?

  • Dave

Hi Dave,

I suspect the missing files are in the OttoFMS deployment backups. They were likely successfully backed up. The corrupt meta.json files are causing the backup and reverting are failing.

Can you send us the corrupt meta.json files. I want to see what’s in there.

Also I am curious if it might be related to the E Drive. If you can could you switch the backup temporarily back to the default and try a quick deployment.

Thanks

Todd

I sent both backup-meta files by email to P+G support. I was able to restore the missing files from the deployment-backups folder. I also changed the default backup location to the C: drive but got the same error. I’m going to revert to 4.7.2 to see if that has any effect.

Hey Dave,

Could you send along the deployment debug logs for one of the deployments that failed as well?

-Kyle

Sent via email. Thanks @kduval.

Ah I see whats happening. The concurrency is causing issue with the backup file writing. I’ll get that fixed in our next version. downgrading to 4.7.2 should fix this for now, I’ll get a fix out in 4.8.1. Thanks for the report Dave!!

-Kyle

1 Like

Added note: Setting the concurrency to 1 will also fix this issue

1 Like

Hey Dave,

This issue is fixed in OttoFMS version 4.8.1! Thanks again for the report.

-Kyle

1 Like