We are using Discourse v3.2.5.
This used to work before however, recently we started seeing issues. Restore from back is failing with the exception EXCEPTION: ERROR: value too long for type character varying(1000) when trying to remap the uploads.
[2025-03-18 21:03:24] Reconnecting to the database…
[2025-03-18 21:03:24] Reloading site settings…
[2025-03-18 21:03:24] Disabling outgoing emails for non-staff users…
[2025-03-18 21:03:25] Disabling readonly mode…
[2025-03-18 21:03:25] Clearing category cache…
[2025-03-18 21:03:25] Reloading translations…
[2025-03-18 21:03:25] Remapping uploads…
[2025-03-18 21:03:27] Remapping with regex from ‘//s3-bucket-name.s3.amazonaws.com/uploads/’ to ‘/uploads/default/’
[2025-03-18 21:03:35] Restoring uploads, this may take a while…
[2025-03-18 21:03:37] EXCEPTION: ERROR: value too long for type character varying(1000)