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
  • 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

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Baserow
  3. After updating BaseRow to 1.29.2 The login screen asks me to create a new user and No databases exist.

After updating BaseRow to 1.29.2 The login screen asks me to create a new user and No databases exist.

Scheduled Pinned Locked Moved Solved Baserow
10 Posts 3 Posters 392 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 Offline
    N Offline
    n0cturnal79
    wrote on last edited by
    #1

    I have tried to restore to the backup before the update, and get this error in Postgresql the app errors out. Any help would be greatly appreciated. I will have serious issues in 11 hours if i cannot get this back running.:

    clear: failed to clear database. error: database "db12e4ccd803504fd8bb15f4e0bc2bb78a" is being accessed by other users
    Mar 26 18:05:36 at Parser.parseErrorMessage (/app/code/node_modules/pg-protocol/dist/parser.js:287:98)
    Mar 26 18:05:36 at Parser.handlePacket (/app/code/node_modules/pg-protocol/dist/parser.js:126:29)
    Mar 26 18:05:36 at Parser.parse (/app/code/node_modules/pg-protocol/dist/parser.js:39:38)
    Mar 26 18:05:36 at Socket.<anonymous> (/app/code/node_modules/pg-protocol/dist/index.js:11:42)
    Mar 26 18:05:36 at Socket.emit (node:events:517:28)
    Mar 26 18:05:36 at addChunk (node:internal/streams/readable:335:12)
    Mar 26 18:05:36 at readableAddChunk (node:internal/streams/readable:308:9)
    Mar 26 18:05:36 at Readable.push (node:internal/streams/readable:245:10)
    Mar 26 18:05:36 at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
    Mar 26 18:05:36 length: 181,
    Mar 26 18:05:36 severity: 'ERROR',
    Mar 26 18:05:36 code: '55006',
    Mar 26 18:05:36 detail: 'There are 5 other sessions using the database.',
    Mar 26 18:05:36 hint: undefined,
    Mar 26 18:05:36 position: undefined,
    Mar 26 18:05:36 internalPosition: undefined,
    Mar 26 18:05:36 internalQuery: undefined,
    Mar 26 18:05:36 where: undefined,
    Mar 26 18:05:36 schema: undefined,
    Mar 26 18:05:36 table: undefined,
    Mar 26 18:05:36 column: undefined,
    Mar 26 18:05:36 dataType: undefined,
    Mar 26 18:05:36 constraint: undefined,
    Mar 26 18:05:36 file: 'dbcommands.c',
    Mar 26 18:05:36 line: '942',
    Mar 26 18:05:36 routine: 'dropdb'
    Mar 26 18:05:36 }
    Mar 26 18:05:36 clear: disconnected

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Try to restart the prostgres service in the services view. Seems like there is some dangling connection preventing the restore

      1 Reply Last reply
      0
      • J joseph moved this topic from Support on
      • N Offline
        N Offline
        n0cturnal79
        wrote on last edited by
        #3

        I did try that, but no glory. I also tried to re-install and restore from the backup just previous to the update. It was about 1/3 of the size of my other backups, and did not work. I ended up restoring a backup from the previous day, and pushing my saved data from the form view to rebuild the day's work. It sucked, but got us back going.

        I plan to retry the update this weekend (With a full VMS backup beforehand). Has anyone else had this issue?

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          When you retry the update, maybe create a clone of that app instance first and try the update there to see if it was a one-off issue or if it is reproducible so we can try to fix something.

          1 Reply Last reply
          0
          • rmdesR Offline
            rmdesR Offline
            rmdes
            wrote on last edited by rmdes
            #5

            Similar issue here, but my logs are a bit different , I have tried to restore from previous backup but havent managed to connect with my existing user of recovered any of my databases. Honestly a bit worried because one of these were a journalist project about to launch

            trying a restore now with a postgres service restart

            a6463894-29a6-48ee-8e12-c9b7c2d59b4a-image.png

            same situation

            2dda1708-646d-4d80-9fa9-1b08e0b3edb2-image.png

            1 Reply Last reply
            0
            • rmdesR Offline
              rmdesR Offline
              rmdes
              wrote on last edited by
              #6

              If I clone from a previous backup, any backup, I end up in the same first admin creation screen 😞

              1 Reply Last reply
              0
              • rmdesR Offline
                rmdesR Offline
                rmdes
                wrote on last edited by
                #7

                I'm starting to think the problem may have happened even before, and that I have been making empty backups

                image.png
                I'm not sure how I can confirm this tho, but no matter what I restore, all I get is an empty Baserow

                1 Reply Last reply
                0
                • nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #8

                  The backups would contain the sql dump file, so you can check that in the raw format within your backups to confirm that or not. This certainly would narrow the issue angle. If the database sql dump is already mostly empty, we at least know the restore logic isn't the issue.

                  1 Reply Last reply
                  0
                  • rmdesR Offline
                    rmdesR Offline
                    rmdes
                    wrote on last edited by
                    #9

                    Odd, but got it working in the end

                    even after restarting the postgres service I could not get a success restore

                    hence Until I rebooted, i was not able to clone from an existing backup and get the clone of the app to show me the usual login screen after a success dump.

                    After rebooting, backup restore from a clone went just fine.

                    1 Reply Last reply
                    1
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #10

                      Hard to say how those actions are connected to resolve it, but glad it worked out in the end!

                      1 Reply Last reply
                      0
                      • nebulonN nebulon marked this topic as a question on
                      • nebulonN nebulon has marked this topic as solved on
                      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