Users are experiencing an issue where imported backups do not appear on a Discourse server after upload, despite successful file transfer. thetangledweb reports an error indicating a missing backup file, with only a temporary file present in the backups directory. pfaffman notes a similar problem, suggesting a bug in the upload process that fails to finalize the backup file. adam_CallRail confirms that uploading via SCP resolves the issue, allowing successful restoration. The issue is acknowledged and fixed in a recent commit tgxworld, with users advised to use SCP as a workaround.
We have a docker based installed, running the latest version ( [v2.0.0.beta5 +141]).
Trying to check our backups, so have a second server also running the same version. Have created a backup on the primary server, but when I upload to the second server, the backup never appears in the list.
Have checked the logs and it has the following error:
Job exception: No such file or directory @ unlink_internal - /var/www/discourse/public/backups/default/forum-2018-04-03-114255-v20180328180317.tar.gz
If I check the backup directory (/var/www/discourse/public/backups/default), there are no files.
I saw a similar problem yesterday. There seems to be a problem with the code that uploads the backup file. It looks like it’s not finishing and sticking all of the files together into the backup file.
We solved the problem by uploading via scp, but then something else kept the file from restoring.