You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running sudo bin/leantime system:update does not successfully update, though it says it does
Reproduction steps
sudo bin/leantime system:update
Starting the updater
Version Check
-------------
Your current version is: v3.3.0
Checking latest version on Github...
The latest Leantime version is: v3.3.3
Database Backup
---------------
mysqldump: unknown variable 'column-statistics=0'
Download & Extract
------------------
Downloading latest version...
Extracting Archive...
Disabling Plugins
-----------------
[OK] Plugins disabled successfully
Applying Update
---------------
cp: cannot stat '/usr/share/nginx/leantime/storage/framework/cache/leantime/*': No such file or directory
[OK] Files were updated
Clearing Cache
--------------
[OK] Clearing Cache Complete
Re-enabling Plugins
-------------------
[OK] Plugins were enabled
Summary
-------
[OK] Update applied Successfully
Again: sudo bin/leantime system:update
Starting the updater
Version Check
-------------
Your current version is: v3.3.0
Checking latest version on Github...
The latest Leantime version is: v3.3.3
(And the footer also says 3.3.0)
Error Logs (LEANTIMEFOLDER/storage/logs)
Nothing there
The text was updated successfully, but these errors were encountered:
I just realized that a pull request does not help you...
If you open the php file on your system that controls the upgrade operation, leantime/app/Command/UpdateLeantime.php, you will see a line where it issues an exec(cp ... command. The problem was it was trying to copy the unzipped files from the wrong location. Originally it was exec('cp -r '.storage_path('/framework/cache/').'/* '.APP_ROOT.'/');, change this to exec('cp -r '.storage_path('/framework/cache/leantime').'/* '.APP_ROOT.'/'); This line should be around line 130... hope this helps!
What is your set up?
Self Hosted Server
Version
3.3.0
Describe the issue
Running sudo bin/leantime system:update does not successfully update, though it says it does
Reproduction steps
(And the footer also says 3.3.0)
Error Logs (LEANTIMEFOLDER/storage/logs)
Nothing there
The text was updated successfully, but these errors were encountered: