Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 4.7.7 is still tagged as latest, instead of 4.8.0, making the updater not work #774

Closed
javiercastrode opened this issue May 11, 2024 · 3 comments

Comments

@javiercastrode
Copy link
Contributor

LinkStack version

4.8.0

Description

Version 4.7.7 is still tagged as latest, instead of 4.8.0, making the updater not work as it just updates to 4.7.7. It also makes the instance have a permanent notification asking the admin to update iit.

Details about your system

GitHub
Any system

How to reproduce

  • To see that 4.7.7 is still tagged as latest: check the GitHub releases page
  • To see the updater not working: try to update and check that it is still asking to update as well as the version remaining on 4.7.7

Possible Solution

Change the tag

Additional Context

No response

@JulianPrieber
Copy link
Member

The updater works independent of the tags on GitHub

@javiercastrode
Copy link
Contributor Author

Well, what I thought I saw was that it recognised that it has to update from 4.7.7 to 4.8.0 but it tried to download the new version from https://github.com/LinkStackOrg/LinkStack/releases/download/latest/update.zip or something similar, making it download the 4.7.7 release.
What I definitely could assure you is that when the updater finished it was still in 4.7.7, having tried it a couple of times.
However, now that 4.8.0 is marked as latest, the updater is still upgrading to 4.7.7 again, so the issue now appears to be something else. I will investigate further later and give an update.

@javiercastrode
Copy link
Contributor Author

I kept seeing the same behaviour, so I updated manually, which resulted in Laravel error "could not find driver: PRAGMA foreign_keys = ON;". After searching, it appeared to be solved by installing php-sqlite3 in its correct version (I had php-sqlite3 but not php8.2-sqlite3, the version appearing on the Laravel error page). After doing that, it worked, but it displayed a home page instead of my user, didn't recognize the login credentials and couldn't recover my password. Therefore, I reverted to the backup and tried the automatic updater again, successfully update.
After all, it appears to have been a question of updating dependencies. Will clear this up on a PR to documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants