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. The Lounge
  3. Chat logs lost after update from 1.19 -> 1.20

Chat logs lost after update from 1.19 -> 1.20

Scheduled Pinned Locked Moved Solved The Lounge
17 Posts 4 Posters 2.8k Views 4 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.
  • infogulchI Offline
    infogulchI Offline
    infogulch
    wrote on last edited by
    #8

    Ok well the new update loses chat logs again. I guess I can't use cloudron for irc.

    1 Reply Last reply
    0
    • nebulonN nebulon

      I see we are talking about different log types then. App logs are things like debug messages, those are logrotated. The chat history (logs) should not be purged if I would understand the app correctly. Possibly a bug then? I wonder how we can reproduce this.

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #9

      @nebulon said in Chat logs lost after update from 1.19 -> 1.20:

      I wonder how we can reproduce this.

      Try what @infogulch suggested above?

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #10

        @infogulch @jdaviescoates the package incorrectly assumes that logs directory is app logs. It's actually the irc logs (messages). I am making a new package.

        Usually, this is caught in our tests... But unfortunately, thelounge has no proper tests because this is not easy to test....

        1 Reply Last reply
        1
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #11

          New package is out. Unfortunately, the old versions still lose the irc logs 😕

          1 Reply Last reply
          1
          • infogulchI Offline
            infogulchI Offline
            infogulch
            wrote on last edited by
            #12

            Backups cover a lot of sins. I still have the archived backup from the last time this happened.

            Now we need a process for restoring the chat logs. I guess we can start by cloning the app from an old backup, but I'm not sure how to copy files between containers. Any ideas?

            1 Reply Last reply
            1
            • infogulchI Offline
              infogulchI Offline
              infogulch
              wrote on last edited by infogulch
              #13

              Oh. So because logs were assumed to be app logs and redirected to the ephemeral /run directory so they were not backed up.

              How did this issue persist when we had a whole discussion about how logs are chat logs not app logs nearly 6 months ago?

              girishG 1 Reply Last reply
              1
              • infogulchI Offline
                infogulchI Offline
                infogulch
                wrote on last edited by
                #14

                I updated to package version io.github.thelounge@1.20.1-1 and I still see that logs is a symlink to the ephemeral run directory:

                image.png

                girishG 1 Reply Last reply
                0
                • infogulchI infogulch

                  Oh. So because logs were assumed to be app logs and redirected to the ephemeral /run directory so they were not backed up.

                  How did this issue persist when we had a whole discussion about how logs are chat logs not app logs nearly 6 months ago?

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #15

                  @infogulch said in Chat logs lost after update from 1.19 -> 1.20:

                  Oh. So because logs were assumed to be app logs and redirected to the ephemeral /run directory so they were not backed up.

                  yes, pretty much 😕

                  How did this issue persist when we had a whole discussion about how logs are chat logs not app logs nearly 6 months ago?

                  I think this just fell through the cracks. We didn't investigate further and lost track.

                  1 Reply Last reply
                  0
                  • infogulchI infogulch

                    I updated to package version io.github.thelounge@1.20.1-1 and I still see that logs is a symlink to the ephemeral run directory:

                    image.png

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by girish
                    #16

                    @infogulch said in Chat logs lost after update from 1.19 -> 1.20:

                    I updated to package version io.github.thelounge@1.20.1-1 and I still see that logs is a symlink to the ephemeral run directory:

                    My bad, that symlink has to get deleted. I pushed another package now, can you please check?

                    1 Reply Last reply
                    2
                    • infogulchI Offline
                      infogulchI Offline
                      infogulch
                      wrote on last edited by
                      #17

                      It looks like it's working now.

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