Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Most recent update broke the app

    Ghost
    5
    6
    318
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      privsec last edited by

      I had to use a previous back up (thankfully I have them!!) to restore to working order.

      robi 1 Reply Last reply Reply Quote 0
      • robi
        robi @privsec last edited by

        @privsec can you be more specific in how things broke for you? logs?

        Life of Advanced Technology

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          If the logs say something about migration/lock failure, please check https://forum.cloudron.io/topic/2413/ghost-crashing/5 for a fix.

          ruihildt 1 Reply Last reply Reply Quote 0
          • ruihildt
            ruihildt @girish last edited by

            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)
            
            1 Reply Last reply Reply Quote 0
            • nebulon
              nebulon Staff last edited by

              Is this actually still an issue?

              P 1 Reply Last reply Reply Quote 0
              • P
                privsec @nebulon last edited by

                @nebulon For me, no. I downgraded, then reupdated and it worked.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB