@nebulon Have exactly the same problem. Error comes up after uploading the Backup config file.
This is in the box.log:
2022-02-14T20:36:03.307Z box:server ==========================================
2022-02-14T20:36:03.308Z box:server Cloudron 7.0.4
2022-02-14T20:36:03.308Z box:server ==========================================
2022-02-14T20:36:03.370Z box:settings initCache: pre-load settings
2022-02-14T20:36:03.391Z box:tasks stopAllTasks: stopping all tasks
2022-02-14T20:36:03.392Z box:shell stopTask spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/stoptask.sh all
2022-02-14T20:36:03.413Z box:dockerproxy startDockerProxy: started proxy on port 3003
Cloudron is up and running. Logs are at /home/yellowtent/platformdata/logs/box.log
2022-02-14T20:36:03.458Z box:cloudron runStartupTasks: not activated. generating IP based redirection config2022-02-14T20:36:03.460Z box:reverseproxy writeDefaultConfig: writing configs for endpoint "setup"
2022-02-14T20:36:03.461Z box:shell reload spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
HttpError: Cannot access 'error' before initialization
at Function.BoxError.toHttpError (/home/yellowtent/box/src/boxerror.js:107:16)
at restore (/home/yellowtent/box/src/routes/provision.js:121:37)
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
status: 500,
internalError: ReferenceError: Cannot access 'error' before initialization
at Object.restore (/home/yellowtent/box/src/provision.js:210:19)
at processTicksAndRejections (internal/process/task_queues.js:95:5),
details: null
}
Box POST /api/v1/cloudron/restore 500 Internal Server Error Cannot access 'error' before initialization 19.997 ms - 99
HttpError: Cannot access 'error' before initialization
at Function.BoxError.toHttpError (/home/yellowtent/box/src/boxerror.js:107:16)
at restore (/home/yellowtent/box/src/routes/provision.js:121:37)
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
status: 500,
internalError: ReferenceError: Cannot access 'error' before initialization
at Object.restore (/home/yellowtent/box/src/provision.js:210:19)
at processTicksAndRejections (internal/process/task_queues.js:95:5),
details: null
}
Box POST /api/v1/cloudron/restore 500 Internal Server Error Cannot access 'error' before initialization 3.243 ms - 99
