방금 재빌드한 컨테이너가 몇 시간 전에 백업된 데이터를 복원하는 것을 거부하고 있습니다.
Your branch is up to date with 'origin/tests-passed'.
nothing to commit, working tree clean
root@meshack-five:/var/www/discourse# git log
commit c758e2cdd17cc7f8cc44596e72d60e81b5bd8def (grafted, HEAD -> tests-passed, origin/tests-passed)
Author: Joffrey JAFFEUX <j.jaffeux@gmail.com>
Date: Fri Jan 14 15:51:31 2022 +0100
하지만 복원을 시도하면 다음과 같은 오류가 발생합니다.
Copying archive to tmp directory...
Unzipping archive, this may take a while...
Extracting dump file...
Validating metadata...
Current version: 20220107014925
Restored version: 20220112091339
EXCEPTION: You're trying to restore a more recent version of the schema. You should migrate first!
SKIP_POST_DEPLOYMENT_MIGRATIONS=false rake db:migrate를 실행해 보았지만 해결되지 않았습니다.
https://five.imports.literateforums.com/에서는 다음과 같이 표시됩니다.
<meta name="generator" content="Discourse 2.8.0.beta11 - https://github.com/discourse/discourse version c758e2cdd17cc7f8cc44596e72d60e81b5bd8def">
호스팅 사이트(business7)의 소스 코드는 다음과 같습니다:
<meta name="generator" content="Discourse 2.8.0.beta11 - https://github.com/discourse/discourse version 6272edd1219652a8e1c9c33e16229b029cec603c">
Commits · discourse/discourse · GitHub 의 커밋을 확인해 보니 제 서버가 더 최신 버전인 것 같습니다.
무언가 멍청한 실수를 하고 있는 것 같은데, 어디에 문제가 있는지 도무지 알 수 없습니다.