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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Failed OpenWebUI Update
Everything related to the PHP CVE and eMudhra Cert Please read our Security issue thread - PHP and eMudhra cert compromise.

Failed OpenWebUI Update

Scheduled Pinned Locked Moved Solved Support
3 Posts 3 Posters 153 Views 3 Watching
  • 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.
  • N
    N
    nightowlPH
    wrote last edited by james
    #1

    Hi. We're doing a routine upgrade for the apps currently installed in our instance. Of all apps scheduled for update, I noticed OpenWebUI failed. I tried restoring it using one of the backups but it failed.

    image.jpeg

    Below is the snippet of the logs taken from the Log Viewer:

    Oct 18 01:49:19 apptask: run: app error for state pending_restore: BoxError: PostgreSQL restore failed. ERROR:  invalid input syntax for type json
    DETAIL:  Expected "," or "}", but found "]".
    CONTEXT:  JSON data, line 1: ...NEBZeIiIiIiMgI+f8BKrgu3Knzl+cAAAAASUVORK5CYII="}]...
    COPY chat, line 212, column chat: "{"id": "", "title": "\ud83d\udd04 Duplicate Schema Guide", "models": ["gpt-4.1"], "params": {}, "his..." Check logs in the Services view.
        at Object.restorePostgreSql [as restore] (file:///home/yellowtent/box/src/services.js:918:22)
        at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
        at async Object.restoreAddons (file:///home/yellowtent/box/src/services.js:2393:9)
        at async installCommand (file:///home/yellowtent/box/src/apptask.js:493:9) {
      [stack]: [Getter/Setter],
      [message]: 'PostgreSQL restore failed. ERROR:  invalid input syntax for type json\n' +
        'DETAIL:  Expected "," or "}", but found "]".\n' +
        'CONTEXT:  JSON data, line 1: ...NEBZeIiIiIiMgI+f8BKrgu3Knzl+cAAAAASUVORK5CYII="}]...\n' +
        'COPY chat, line 212, column chat: "{"id": "", "title": "\\ud83d\\udd04 Duplicate Schema Guide", "models": ["gpt-4.1"], "params": {}, "his..." Check logs in the Services view.',
      name: 'BoxError',
      reason: 'Addons Error',
      extra: {}
    }
    Oct 18 01:49:19 tasks: setCompleted - 8869: {"result":null,"error":{"message":"PostgreSQL restore failed. ERROR:  invalid input syntax for type json\nDETAIL:  Expected \",\" or \"}\", but found \"]\".\nCONTEXT:  JSON data, line 1: ...NEBZeIiIiIiMgI+f8BKrgu3Knzl+cAAAAASUVORK5CYII=\"}]...\nCOPY chat, line 212, column chat: \"{\"id\": \"\", \"title\": \"\\ud83d\\udd04 Duplicate Schema Guide\", \"models\": [\"gpt-4.1\"], \"params\": {}, \"his...\" Check logs in the Services view.","reason":"Addons Error","stack":"BoxError: PostgreSQL restore failed. ERROR:  invalid input syntax for type json\nDETAIL:  Expected \",\" or \"}\", but found \"]\".\nCONTEXT:  JSON data, line 1: ...NEBZeIiIiIiMgI+f8BKrgu3Knzl+cAAAAASUVORK5CYII=\"}]...\nCOPY chat, line 212, column chat: \"{\"id\": \"\", \"title\": \"\\ud83d\\udd04 Duplicate Schema Guide\", \"models\": [\"gpt-4.1\"], \"params\": {}, \"his...\" Check logs in the Services view.\n    at Object.restorePostgreSql [as restore] (file:///home/yellowtent/box/src/services.js:918:22)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n    at async Object.restoreAddons (file:///home/yellowtent/box/src/services.js:2393:9)\n    at async installCommand (file:///home/yellowtent/box/src/apptask.js:493:9)"},"percent":100}
    Oct 18 01:49:19 tasks: updating task 8869 with: {"completed":true,"result":null,"error":{"message":"PostgreSQL restore failed. ERROR:  invalid input syntax for type json\nDETAIL:  Expected \",\" or \"}\", but found \"]\".\nCONTEXT:  JSON data, line 1: ...NEBZeIiIiIiMgI+f8BKrgu3Knzl+cAAAAASUVORK5CYII=\"}]...\nCOPY chat, line 212, column chat: \"{\"id\": \"\", \"title\": \"\\ud83d\\udd04 Duplicate Schema Guide\", \"models\": [\"gpt-4.1\"], \"params\": {}, \"his...\" Check logs in the Services view.","reason":"Addons Error","stack":"BoxError: PostgreSQL restore failed. ERROR:  invalid input syntax for type json\nDETAIL:  Expected \",\" or \"}\", but found \"]\".\nCONTEXT:  JSON data, line 1: ...NEBZeIiIiIiMgI+f8BKrgu3Knzl+cAAAAASUVORK5CYII=\"}]...\nCOPY chat, line 212, column chat: \"{\"id\": \"\", \"title\": \"\\ud83d\\udd04 Duplicate Schema Guide\", \"models\": [\"gpt-4.1\"], \"params\": {}, \"his...\" Check logs in the Services view.\n    at Object.restorePostgreSql [as restore] (file:///home/yellowtent/box/src/services.js:918:22)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n    at async Object.restoreAddons (file:///home/yellowtent/box/src/services.js:2393:9)\n    at async installCommand (file:///home/yellowtent/box/src/apptask.js:493:9)"},"percent":100}
    Oct 18 01:49:19 taskworker: Task took 48.589 seconds
    Oct 18 01:49:19 BoxError: PostgreSQL restore failed. ERROR:  invalid input syntax for type json
    DETAIL:  Expected "," or "}", but found "]".
    CONTEXT:  JSON data, line 1: ...NEBZeIiIiIiMgI+f8BKrgu3Knzl+cAAAAASUVORK5CYII="}]...
    COPY chat, line 212, column chat: "{"id": "", "title": "\ud83d\udd04 Duplicate Schema Guide", "models": ["gpt-4.1"], "params": {}, "his..." Check logs in the Services view.
        at Object.restorePostgreSql [as restore] (file:///home/yellowtent/box/src/services.js:918:22)
        at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
        at async Object.restoreAddons (file:///home/yellowtent/box/src/services.js:2393:9)
        at async installCommand (file:///home/yellowtent/box/src/apptask.js:493:9)
    Oct 18 01:49:19 Exiting with code 0
    
    1 Reply Last reply
    1
    • jamesJ
      jamesJ
      james
      Staff
      wrote last edited by
      #2

      Hello @nightowlph
      This looks like something in your OpenWebUI database is causing this restore crash.
      Can you find out what that is in the database that is containing this NEBZeIiIiIiMgI+f8BKrgu3Knzl+cAAAAASUVORK5CYII=?
      If we can find out what is stored there we might able to understand what is causing the restore crash.

      1 Reply Last reply
      1
      • J joseph has marked this topic as solved
      • J
        J
        joseph
        Staff
        wrote last edited by
        #3

        This was confirmed as solved in support. @nightowlph maybe you can explain how.

        1 Reply Last reply
        1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search