pietrocinaglia / laraupdater Goto Github PK
View Code? Open in Web Editor NEWLaraUpdater allows your Laravel Application to auto-update itself: Laravel App Self-Update.
License: MIT License
LaraUpdater allows your Laravel Application to auto-update itself: Laravel App Self-Update.
License: MIT License
I tried using this updater but I get this error:
GET http://localhost/ProjectName/public/updater.check 500 (Internal Server Error)
I dont know whether is become of jquery version. Details of the issue are:
send @ jquery-3.1.1.min.js:4
ajax @ jquery-3.1.1.min.js:4
(anonymous) @ system_update:323
j @ jquery-3.1.1.min.js:2
k @ jquery-3.1.1.min.js:2
setTimeout (async)
(anonymous) @ jquery-3.1.1.min.js:2
i @ jquery-3.1.1.min.js:2
fireWith @ jquery-3.1.1.min.js:2
fire @ jquery-3.1.1.min.js:2
i @ jquery-3.1.1.min.js:2
fireWith @ jquery-3.1.1.min.js:2
ready @ jquery-3.1.1.min.js:2
hey
My project folder is as follows:
laravel ---> source code
public_html ---> public
However, I get the following error during the update operation
Thank you for helping me
laraupdater.UPDATE_FOUND: 1.0.2 (laraupdater.current_version: 1.0)
laraupdater.DESCRIPTION: Minor bugs fix
» laraupdater.Update_downloading_..
laraupdater.ERROR_DURING_UPDATE_(!!check_the_update_archive!!)Exception => The "C:\xampp\htdocs\test\laravel/backup_20191227" directory does not exist.
[ laraupdater.FAILED ]
laraupdater.Backup_folder_is_located_in: C:\xampp\htdocs\test\laravel/backup_20191227.
laraupdater.Remember_to_restore_System_UP-Status_through_shell_command: php artisan up.
Hi,
What is the least version this package works ? . Specifically will it works with laravel 5.x versions ?
the backu_xxx folder is not created if it does not exist
Can you implement a parameter for the method checkPermission()
so that it receives which model that it should use to check for permissions? The model could be set in the configuration file.
Issue : $this->log( trans("laraupdater.SYSTEM_VERSION") . $this->getCurrentVersion, true, 'info' );
Changes : $this->log( trans("laraupdater.SYSTEM_VERSION") . $this->getCurrentVersion(), true, 'info' );
Hi and thank you for this great package.
Just a small question because I was not able to find any answers on the readme file.
Does laraupdater work with Laravel 8?
If it does, does it support Jetstream and Livewire?
Thanks for great package.
I think we need to update database using laravel migration.
Please explain it. thanks.
Here is the error I'm getting:
UPDATE FOUND: 1.0.2 (current version: 1.0)
DESCRIPTION: Minor bug fixes
» Update, downloading ...........
ERROR DURING UPDATE (!!check the update archive!!) --TRY to restore OLD status ........... Exception => The "D:\XAMPP\htdocs\test2\application/backup_20181210" directory does not exist.
[ FAILED ]
Backup folder is located in: D:\XAMPP\htdocs\test2\application/backup_20181210.
Remember to restore System UP-Status through shell command: php artisan up.
My config file:
'tmp_path' => '/../tmp',
'update_baseurl' => 'https://rainn.xyz/x71927a/21dates',
// Doing this in the route itself
'middleware' => ['web', 'auth'],
// Because I already have a permissions system that has middleware
'allow_users_id' => false
Routes file(commented out middleware for testing purposes):
Route::get('updater/check', 'pcinaglia\laraupdater\LaraUpdaterController@check')->name('updater-check')/*->middleware('permission:manage-updater')*/;
Route::get('updater/currentVersion', 'pcinaglia\laraupdater\LaraUpdaterController@getCurrentVersion')->name('updater-currentversion')/*->middleware('manage-updater')*/;
Route::group(['middleware' => config('laraupdater.middleware') ], function(){
Route::get('updater/update', 'pcinaglia\laraupdater\LaraUpdaterController@update')->name('updater-update');
})/*->middleware('permission:manage-updater')*/;
Thank in advance for your help. I'll keep trying but I'd love to hear your suggestions.
Let me know if you need more information.
based on #17 Looking for an answer where the upgrade.php is placed ? is root path
but in this line
laraupdater/src/LaraUpdaterController.php
Line 108 in ad268f0
make a file in a root path see issue #22
Why is the file on the root path not updated ?
This feature may be needed by some people including me,
And maybe I will put it in the pull request #31
Please support Git repository for checking updates.
Hello,
First of all thank you for this extension. I have just encountered a small problem, in fact when the current version is 0.0.9 and I want to upgrade to 0.0.10, the system does not detect an update.
And may I use the Laravel Helper functions as well as classes?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.