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

[Bug]: Updater updates again to the same version it just installed #2761

Open
bedo2991 opened this issue Oct 25, 2024 · 0 comments
Open

[Bug]: Updater updates again to the same version it just installed #2761

bedo2991 opened this issue Oct 25, 2024 · 0 comments
Assignees
Labels

Comments

@bedo2991
Copy link

bedo2991 commented Oct 25, 2024

What is your set up?

Self Hosted Server

Version

3.2.1

Describe the issue

Update is successfull, but the updater thinks it needs to update again

Reproduction steps

  1. sudo ./updateLeantime.sh
  2. Perform the update, it ends successfully
  3. sudo ./updateLeantime.sh
  4. "There is an update available!"

Additional Notes

sudo ./updateLeantime.sh 

    _                 _   _                             
   | |   ___ __ _ _ _| |_(_)_ __  ___                   
   | |__/ -_) _` | ' \  _| | '  \/ -_)                  
   |____\___\__,_|_||_\__|_|_|_|_\___|      _           
                     | | | |_ __  __| |__ _| |_ ___ _ _ 
                     | |_| | '_ \/ _` / _` |  _/ -_) '_|
                      \___/| .__/\__,_\__,_|\__\___|_|  
                           |_|                          


For correct operation of this script, please ensure you have zip, unzip, wget and curl installed.

There is an update available!
Do you want to update from v3.2.0-beta-2 to v3.2.1? [Y/n] Y
Do you want to create a backup before updating (recommended) [Y/n]Y

Creating a backup in the 'backup' folder
 - retrieving the database connection details (Done)
 - Backing up the database in backup/leantime_db_backup_20241025_130633.sql.gz (Done)

 - Backing up the files in backup/leantime_file_backup_20241025_130633.zip (Done)


Starting the update process
 - Downloading the updatefile (Leantime-v3.2.1.zip) in the 'update' folder (Done)

 - Extracting the updatefile (Done)

 - Applying the update (Done)

 - Cleaning up the temporary files (Done)

Leantime has been succesfully updated


sudo ./updateLeantime.sh 

    _                 _   _                             
   | |   ___ __ _ _ _| |_(_)_ __  ___                   
   | |__/ -_) _` | ' \  _| | '  \/ -_)                  
   |____\___\__,_|_||_\__|_|_|_|_\___|      _           
                     | | | |_ __  __| |__ _| |_ ___ _ _ 
                     | |_| | '_ \/ _` / _` |  _/ -_) '_|
                      \___/| .__/\__,_\__,_|\__\___|_|  
                           |_|                          


For correct operation of this script, please ensure you have zip, unzip, wget and curl installed.

There is an update available!
Do you want to update **from v3.2.0-beta-2 to v3.2.1?** [Y/n] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants