Chat logs lost after update from 1.19 -> 1.20
-
@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?
-
@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....
-
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?
-
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?
-
@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.
-
@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?
-