Most recent update broke the app
Solved
Ghost
-
If the logs say something about migration/lock failure, please check https://forum.cloudron.io/topic/2413/ghost-crashing/5 for a fix.
-
Ah thanks, mine is saying the following in loop, I'll try this when I finish the backup.
Jan 20 20:41:32 ==> Migrating database Jan 20 20:41:32 ==> Loading /app/data/env for potential overrides Jan 20 20:41:33 [2021-01-20 19:41:33] ERROR The server has encountered an error. Jan 20 20:41:33 Jan 20 20:41:33 The server has encountered an error. Jan 20 20:41:33 Jan 20 20:41:33 Error ID: Jan 20 20:41:33 8022aa90-5b57-11eb-91eb-a13d5de146b0 Jan 20 20:41:33 Jan 20 20:41:33 ---------------------------------------- Jan 20 20:41:33 Jan 20 20:41:33 InternalServerError: The server has encountered an error. Jan 20 20:41:33 at new KnexMigrateError (/home/cloudron/ghost/versions/3.40.5/node_modules/knex-migrator/lib/errors.js:7:26) Jan 20 20:41:33 at Object.loadConfig (/home/cloudron/ghost/versions/3.40.5/node_modules/knex-migrator/lib/utils.js:44:15) Jan 20 20:41:33 at new KnexMigrator (/home/cloudron/ghost/versions/3.40.5/node_modules/knex-migrator/lib/index.js:18:24) Jan 20 20:41:33 at /home/cloudron/ghost/versions/3.40.5/node_modules/knex-migrator/bin/knex-migrator-init:18:28 Jan 20 20:41:33 at tryCatcher (/home/cloudron/ghost/versions/3.40.5/node_modules/bluebird/js/release/util.js:16:23) Jan 20 20:41:33 at Promise._settlePromiseFromHandler (/home/cloudron/ghost/versions/3.40.5/node_modules/bluebird/js/release/promise.js:547:31) Jan 20 20:41:33 at Promise._settlePromise (/home/cloudron/ghost/versions/3.40.5/node_modules/bluebird/js/release/promise.js:604:18) Jan 20 20:41:33 at Promise._settlePromise0 (/home/cloudron/ghost/versions/3.40.5/node_modules/bluebird/js/release/promise.js:649:10) Jan 20 20:41:33 at Promise._settlePromises (/home/cloudron/ghost/versions/3.40.5/node_modules/bluebird/js/release/promise.js:729:18) Jan 20 20:41:33 at Promise._fulfill (/home/cloudron/ghost/versions/3.40.5/node_modules/bluebird/js/release/promise.js:673:18) Jan 20 20:41:33 at Promise._resolveCallback (/home/cloudron/ghost/versions/3.40.5/node_modules/bluebird/js/release/promise.js:466:57) Jan 20 20:41:33 at Promise._settlePromiseFromHandler (/home/cloudron/ghost/versions/3.40.5/node_modules/bluebird/js/release/promise.js:559:17) Jan 20 20:41:33 at Promise._settlePromise (/home/cloudron/ghost/versions/3.40.5/node_modules/bluebird/js/release/promise.js:604:18) Jan 20 20:41:33 at Promise._settlePromise0 (/home/cloudron/ghost/versions/3.40.5/node_modules/bluebird/js/release/promise.js:649:10) Jan 20 20:41:33 at Promise._settlePromises (/home/cloudron/ghost/versions/3.40.5/node_modules/bluebird/js/release/promise.js:725:18) Jan 20 20:41:33 at _drainQueueStep (/home/cloudron/ghost/versions/3.40.5/node_modules/bluebird/js/release/async.js:93:12) Jan 20 20:41:33 Jan 20 20:41:33 Error: Error parsing your configuration file: [/home/cloudron/ghost/config.production.json]: Unexpected end of JSON input Jan 20 20:41:33 at exports.File.File.loadSync (/home/cloudron/ghost/versions/3.40.5/node_modules/nconf/lib/nconf/stores/file.js:170:11) Jan 20 20:41:33 at exports.Provider.Provider.add (/home/cloudron/ghost/versions/3.40.5/node_modules/nconf/lib/nconf/provider.js:136:23) Jan 20 20:41:33 at exports.Provider.Provider.file (/home/cloudron/ghost/versions/3.40.5/node_modules/nconf/lib/nconf/provider.js:63:15) Jan 20 20:41:33 at Object.loadNconf (/home/cloudron/ghost/versions/3.40.5/core/shared/config/index.js:35:11) Jan 20 20:41:33 at Object.<anonymous> (/home/cloudron/ghost/versions/3.40.5/core/shared/config/index.js:83:27) Jan 20 20:41:33 at Module._compile (internal/modules/cjs/loader.js:1156:30) Jan 20 20:41:33 at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10) Jan 20 20:41:33 at Module.load (internal/modules/cjs/loader.js:1000:32) Jan 20 20:41:33 at Function.Module._load (internal/modules/cjs/loader.js:899:14) Jan 20 20:41:33 at Module.require (internal/modules/cjs/loader.js:1042:19) Jan 20 20:41:33 at require (internal/modules/cjs/helpers.js:77:18) Jan 20 20:41:33 at Object.<anonymous> (/home/cloudron/ghost/versions/3.40.5/MigratorConfig.js:1:16) Jan 20 20:41:33 at Module._compile (internal/modules/cjs/loader.js:1156:30) Jan 20 20:41:33 at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10) Jan 20 20:41:33 at Module.load (internal/modules/cjs/loader.js:1000:32) Jan 20 20:41:33 at Function.Module._load (internal/modules/cjs/loader.js:899:14)