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

Upgrade from 2.3.18 #65

Closed
YannickFavre opened this issue Jun 22, 2021 · 4 comments
Closed

Upgrade from 2.3.18 #65

YannickFavre opened this issue Jun 22, 2021 · 4 comments

Comments

@YannickFavre
Copy link

YannickFavre commented Jun 22, 2021

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:

  • unzip archive in /tmp
  • cp /tmp/Cachet/* /var/www/html/Cachet
  • sudo php artisan migrate

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


  • Application In Production!     *
    

Do you really wish to run this command? (yes/no) [no]:

yes

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
Copy link
Author

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
Copy link
Author

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
Copy link

I have found how to migrate

Thanks for sharing...

@YannickFavre
Copy link
Author

Hello,
Here is the procedure I've followed:

  • Retrieve source code:
    image

  • Change rights:
    image

  • PHP 7.1 installation
    image

  • Composer installation
    image

  • configuration preparation
    image

  • Key generation:
    image

  • Check and enable PHP 7.1 in apache2
    image

image

Hope it will be usefull for somebody !!!

Regards,

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