Upgrading to OctoberCMS v2

Hey,
while trying to upgrade OctoberCMS to version 2, while doing this command: php artisan october:install I’m encountering this error:
`

In ProviderRepository.php line 206:

  Class "Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider" not found

Is there something I can do to make it work? I`m quite new to October and working on my client’s website.

I’m following this tutorial: Release Note 13: October CMS 2.0 - Upgrade Guide - October CMS

Thanks for tips!

Hi @Woxeas

Try clearing the temporary PHP files found in the storage/framework/ directory.

1 Like

Okay, thanks!

I deleted the files, ran composer install and composer dump-autoload.

But now I have another error message:

In Container.php line 891:

  Target class [files] does not exist.


In Container.php line 889:

  Class "files" does not exist

Overall no “artisan” command seems to work.
I found on the internet it is probably a problem with Laravel and its version but I have no idea how to solve it. Can you please help me?

I tried to install it again and now I’m getting this error:

php artisan october:install

In Container.php line 891:

  Target class [cache] does not exist.


In Container.php line 889:

  Class "cache" does not exist

Some general troubleshooting:

  • Delete or rename the vendor folder
  • Delete or rename the composer.lock file
  • Run composer update

Hopefully it should help to repair your install