Links being deleted in non demo mode on commit e4d6534 #49
Replies: 1 comment
-
Lynx also now has its own a backup feature for links. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Commit #e4d6534 was not tested thoroughly enough, resulting in existing links to be deleted.
This is because although the CRON job for deleting links in demo mode was properly adjusted to only run in demo mode, initialising the cron job still ran the job, so when the backend was started after an update the existing links were removed.
My own links (3.5k+) were deleted and my backup server was both down and incorrectly configured so I do not have a backup. Please ensure you backup your server, especially before updating services. As well as test your backups when you change your configuration.
I was able to find an export from the start of this year so my links, luckily, aren't completely lost.
I will personally ensure backups are tested, and for Lynx I will ensure that updates are properly tested and in a seperate branch before releasing them on the master branch.
To resolve this for your installation:
Docker
If using the
latest
tag, just pull and restart your image.Otherwise any production tag such as
1
,1.3
etc will all not include this bug.Native
Re-pull this repo and restart your node instance.
Beta Was this translation helpful? Give feedback.
All reactions