fiveai / Cachet

📛 An open source status page system for everyone.
https://cachethq.io
BSD 3-Clause "New" or "Revised" License
101 stars 28 forks source link

Upgrade from 2.3.18 #65

Closed YannickFavre closed 2 years ago

YannickFavre commented 3 years ago

Hi sedan07,

Is there a procedure to upgrade from 2.3.18 to the last version of your fork ? I'm very interested by new release and would like to appreciate them ?

I have already tried to upgrade like the following:

exploit@poc-cachet:/var/www/html/Cachet$ sudo php artisan migrate


PHP Fatal error: Uncaught ErrorException: count(): Parameter must be an array or an object that implements Countable in /var/www/html/Cachet/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php:51 Stack trace:

0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'count(): Parame...', '/var/www/html/C...', 51, Array)

1 /var/www/html/Cachet/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php(51): count(NULL)

2 /var/www/html/Cachet/vendor/graham-campbell/exceptions/src/ExceptionHandlerTrait.php(47): GrahamCampbell\Exceptions\ExceptionIdentifier->identify(Object(ErrorException))

3 /var/www/html/Cachet/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(79): GrahamCampbell\Exceptions\ExceptionHandler->report(Object(ErrorException))

4 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(ErrorException))

5 {main}

thrown in /var/www/html/Cachet/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php on line 51 PHP Fatal error: Uncaught ErrorException: count(): Parameter must be an array or an object that implements Countable in /var/www/html/Cachet/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php:51 Stack trace:

0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'count(): Parame...', '/var/www/html/C...', 51, Array)

1 /var/www/html/Cachet/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php(51): count(NULL)

2 /var/www/html/Cachet/vendor/graham-campbell/exceptions/src/ExceptionHandlerTrait.php(47): GrahamCampbell\Exceptions\ExceptionIdentifier->identify(Object(Symfony\Component\Debug\Exception\FatalErrorException))

3 /var/www/html/Cachet/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(79): GrahamCampbell\Exceptions\ExceptionHandler->report(Object(Symfony\Component\Debug\Exception\FatalErrorException))

4 /var/www/html/Cachet/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(118): Illuminate\Foundation\Boot in /var/www/html/Cachet/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php on line 51

php --version return 7.2.34

Can you help me to upgrade to your version ?

Also, I would like to implement some features and would like to know which pre-requies to construct a DEV environment. Can you help me in this way ?

Thank's for your help.

Regards,

Yannick FAVRE

YannickFavre commented 3 years ago

Hello @sedan07 ,

I'm come back about my question. I would like to install your version by upgrading my actual version. As you can see on my previous post, it's not very easy . Can you help me or not ?

Thank's a lot,

Regards,

Yannick FAVRE

YannickFavre commented 2 years ago

Hello, After working on this project, I have found how to migrate from 2.3.18 to 2.5.1 and also 2.6.0-dev. One important thing is the PHP 7.1 that need to be installed on the web server. Nevertheless, I will stay on 2.3.18 that contains RSS function that is not used in new version.

InFerYes commented 2 years ago

I have found how to migrate

Thanks for sharing...

YannickFavre commented 2 years ago

Hello, Here is the procedure I've followed:

image

Hope it will be usefull for somebody !!!

Regards,