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

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Linkwarden
  3. All links gone after update to v2.13.0

All links gone after update to v2.13.0

Scheduled Pinned Locked Moved Linkwarden
14 Posts 8 Posters 571 Views 8 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.
  • M Offline
    M Offline
    mononym
    wrote last edited by mononym
    #1

    Hi. I noticed that all my links disapeared after the latest update of the cloudron package to version v1.19.0. I restarted the app to no avail. 🕵

    1 Reply Last reply
    1
    • M mononym marked this topic as a question
    • fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote last edited by
      #2

      I can confirm the same. All data of the app is no longer available after the last update. A restore to be state before the update brought the data back.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ari
        wrote last edited by
        #3

        Same. Thank you again to the Cloudron team for the excellent automated backups implementation. One click to restore the snapshot taken immediately before the bad update, and everything lost is back.

        1 Reply Last reply
        1
        • dsp76D Offline
          dsp76D Offline
          dsp76
          wrote last edited by
          #4

          Oh yes, so glad I found the thread and went back to package 1.18.1 to get back all our stuff.
          Auto Update disabled for the moment...

          (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

          1 Reply Last reply
          1
          • jamesJ Offline
            jamesJ Offline
            james
            Staff
            wrote last edited by
            #5

            Hello @linkwarden Users
            Thanks for reporting this. We are looking into it.

            1 Reply Last reply
            1
            • jamesJ james marked this topic as a regular topic
            • jamesJ Offline
              jamesJ Offline
              james
              Staff
              wrote last edited by
              #6

              I just installed Linkwarden Cloudron package version 1.18.1, added 2x links and updated the app to the latest version 1.19.0.
              Still both links exist.
              Could you please share some more details how your Linkwarden is used?
              Are you using local accounts, the Cloudron Login, the Admin login or anything that could be useful to reproduce this issue?

              1 Reply Last reply
              1
              • A Offline
                A Offline
                ari
                wrote last edited by
                #7

                For me: Cloudron login, one admin user, public disabled. API calls failed after update, which tracks with the database being reset.

                1 Reply Last reply
                1
                • A Offline
                  A Offline
                  ari
                  wrote last edited by
                  #8

                  Looking through recent issues, this one caught my eye given Cloudron login: https://github.com/linkwarden/linkwarden/issues/1422

                  1 Reply Last reply
                  1
                  • andreasduerenA Offline
                    andreasduerenA Offline
                    andreasdueren
                    wrote last edited by
                    #9

                    Weird, my links are still there. Using SSO

                    1 Reply Last reply
                    1
                    • fbartelsF Offline
                      fbartelsF Offline
                      fbartels
                      App Dev
                      wrote last edited by fbartels
                      #10

                      I tried the upgrade today again. This is the log at the time of the upgrade:

                      Sep 29 10:35:34 box:tasks update 21502: {"percent":70,"message":"Creating container"}
                      Sep 29 10:35:34 box:apptask createContainer: creating container
                      Sep 29 10:35:36 box:shell apptask /usr/bin/sudo -S /home/yellowtent/box/src/scripts/configurelogrotate.sh add 4f552ab3-85b8-45de-b46a-05dc384d0c10 /tmp/4f552ab3-85b8-45de-b46a-05dc384d0c10.logrotate
                      Sep 29 10:35:36 box:apptask startApp: starting container
                      Sep 29 10:35:36 box:tasks update 21502: {"percent":90,"message":"Configuring reverse proxy"}
                      Sep 29 10:35:36 => Linkwarden configs
                      Sep 29 10:35:36 box:tasks update 21502: {"percent":100,"message":"Done"}
                      Sep 29 10:35:36 => Update configuration
                      Sep 29 10:35:36 ==> Setting up OIDC
                      Sep 29 10:35:36 box:taskworker Task took 103.25 seconds
                      Sep 29 10:35:36 box:tasks setCompleted - 21502: {"result":null,"error":null}
                      Sep 29 10:35:36 box:tasks update 21502: {"percent":100,"result":null,"error":null}
                      Sep 29 10:35:36 => Run database migration
                      Sep 29 10:35:37 yarn run v1.22.22
                      Sep 29 10:35:37 warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable.
                      Sep 29 10:35:37 warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0".
                      Sep 29 10:35:37 $ dotenv -- yarn workspace @linkwarden/prisma deploy
                      Sep 29 10:35:37 warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn"
                      Sep 29 10:35:37 warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable.
                      Sep 29 10:35:37 warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0".
                      Sep 29 10:35:38 warning package.json: "dependencies" has dependency "prisma" with range "^6.10.1" that collides with a dependency in "devDependencies" of the same name with version "^5.21.1"
                      Sep 29 10:35:38 warning Skipping preferred cache folder "/usr/local/share/.cache/yarn" because it is not writable.
                      Sep 29 10:35:38 warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-0".
                      Sep 29 10:35:38 $ prisma migrate deploy
                      Sep 29 10:35:38 warning Cannot find a suitable global folder. Tried these: "/usr/local, /usr/local/share/.yarn"
                      Sep 29 10:35:39 Prisma schema loaded from schema.prisma
                      Sep 29 10:35:39 Datasource "db": PostgreSQL database "db4f552ab385b845deb46a05dc384d0c10", schema "public" at "postgresql:5432"
                      Sep 29 10:35:39 2025-09-29T08:35:39Z
                      Sep 29 10:35:39 89 migrations found in prisma/migrations
                      Sep 29 10:35:39 2025-09-29T08:35:39Z
                      Sep 29 10:35:39 Applying migration `20250826181008_add_field_to_tags`
                      Sep 29 10:35:39 Applying migration `20250922133423_add_field_to_user`
                      Sep 29 10:35:39 2025-09-29T08:35:39Z
                      Sep 29 10:35:39 The following migration(s) have been applied:
                      Sep 29 10:35:39 2025-09-29T08:35:39Z
                      Sep 29 10:35:39 migrations/
                      Sep 29 10:35:39 └─ 20250826181008_add_field_to_tags/
                      Sep 29 10:35:39 └─ migration.sql
                      Sep 29 10:35:39 └─ 20250922133423_add_field_to_user/
                      Sep 29 10:35:39 └─ migration.sql
                      Sep 29 10:35:39 2025-09-29T08:35:39Z
                      Sep 29 10:35:39 All migrations have been successfully applied.
                      Sep 29 10:35:39 Done in 2.36s.
                      Sep 29 10:35:39 => Copying cache
                      Sep 29 10:35:40 => Healtheck error: Error: connect ECONNREFUSED 172.18.19.54:3000
                      Sep 29 10:35:41 => Ensure permissions
                      Sep 29 10:35:41 => Starting Linkwarden
                      Sep 29 10:35:41 yarn run v1.22.22
                      Sep 29 10:35:41 $ concurrently "dotenv -- yarn workspace @linkwarden/web start" "dotenv -- yarn workspace @linkwarden/worker start"
                      Sep 29 10:35:42 [1] $ tsx index.ts
                      Sep 29 10:35:42 [0] $ next start
                      Sep 29 10:35:43 [0] - ready started server on 0.0.0.0:3000, url: http://localhost:3000
                      Sep 29 10:35:47 [1] Initializing the worker...
                      Sep 29 10:35:47 [1] Starting RSS polling...
                      Sep 29 10:35:47 [1] Starting link processing...
                      Sep 29 10:35:48 [1] Processing new RSS feed items for This Week in Self-Hosted
                      Sep 29 10:35:50 [0] (node:192) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                      Sep 29 10:35:50 [0] (Use `node --trace-deprecation ...` to show where the warning was created)
                      Sep 29 10:36:02 [0] Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'yarn add sharp', and Next.js will use it automatically for Image Optimization.
                      Sep 29 10:36:02 [0] Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
                      

                      And after logging in again the app was empty like with the previous update.

                      I then wanted to check the postgres database and this looks like it was wiped:

                      db4f552ab385b845deb46a05dc384d0c10=> /dt
                      db4f552ab385b845deb46a05dc384d0c10-> /d
                      

                      So even though it says that it was able to apply the migrations to the database the database itself is empty afterwards. That was because of a syntax error on my end. I'm more of a MariaDB guy.

                      PS: also using sso and basically only using it with my first user. next to a few links I have setup a few rss sources in the app. the rss feeds are probably the most source for links since otherwise i hardly use linkwarden.

                      1 Reply Last reply
                      0
                      • luckowL Offline
                        luckowL Offline
                        luckow
                        translator
                        wrote last edited by
                        #11

                        OIDC auth. same here: 0 links after the update.

                        Pronouns: he/him | Primary language: German

                        1 Reply Last reply
                        1
                        • J Offline
                          J Offline
                          joseph
                          Staff
                          wrote last edited by joseph
                          #12

                          I reproduced the issue. The issue seems to be that in old installations that started before the stable package, the email is not marked as verified. The API calls are failing with the error that email is not verified. To fix:

                          • Open a web terminal and click on the Postgres button on the top
                          • Then, run below. The email has to be replaced with the email in your linkwarden settings page:
                          UPDATE "User" SET "emailVerified"='2024-09-17 14:53:36.194' WHERE email='email@example.com';
                          

                          That's it. Refresh linkwarden and things reappear.

                          fbartelsF 1 Reply Last reply
                          6
                          • J joseph

                            I reproduced the issue. The issue seems to be that in old installations that started before the stable package, the email is not marked as verified. The API calls are failing with the error that email is not verified. To fix:

                            • Open a web terminal and click on the Postgres button on the top
                            • Then, run below. The email has to be replaced with the email in your linkwarden settings page:
                            UPDATE "User" SET "emailVerified"='2024-09-17 14:53:36.194' WHERE email='email@example.com';
                            

                            That's it. Refresh linkwarden and things reappear.

                            fbartelsF Offline
                            fbartelsF Offline
                            fbartels
                            App Dev
                            wrote last edited by
                            #13

                            @joseph thank you. I can conform that after running the sql query the users do show up.

                            My observation with an empty database was because of a syntax error in my query.

                            J 1 Reply Last reply
                            1
                            • fbartelsF fbartels

                              @joseph thank you. I can conform that after running the sql query the users do show up.

                              My observation with an empty database was because of a syntax error in my query.

                              J Offline
                              J Offline
                              joseph
                              Staff
                              wrote last edited by
                              #14

                              @fbartels said in All links gone after update to v2.13.0:

                              My observation with an empty database was because of a syntax error in my query.

                              ha ha, those d* commands and the quoting of postgres always trips me (especially since I am on mysql a lot)!

                              1 Reply Last reply
                              2
                              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