This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

vladimir.camaj64790
vladimir.camaj64790

I am starting with October cms. I have a license key but I dont know where to add it to make successful installation. According documentation I tried to run php artisan october:install but it ends up with message Enter a valid License Key to proceed which runs in endless loop in console (cmder, gitbash). According this documentation I tried to find out what should I do, but there is nothing about it. It seems like an error in the console. As I say it writes Enter a valid License Key to proceed in endless loop.

Does anybody know what should I do to activate the license on my very first project?

Last updated

daftspunky
daftspunky

Hi there!

By endless loop, do you mean the license key is not accepted and asks again, or the console freezes and cannot be used?

vladimir.camaj64790
vladimir.camaj64790

The terminal ask me for Enter a valid License Key to proceed in endless loop. I can not insert the key. Console does not wait for my input, it still writes this query on new line and the window is full of this and still running till I press crtl + c.

It looks like

Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.
Enter a valid License Key to proceed.

Last updated

daftspunky
daftspunky

Thanks, I found the reason for the loop, but not the error. Please try to create a project again using this special command (targets develop branch)

composer create-project october/october:dev-develop myoctober

You may see the error this time

vladimir.camaj64790
vladimir.camaj64790

Now I have two errors. First when I run composer create-project

Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]?
[Symfony\Component\Console\Exception\RuntimeException]
  Aborted

and second from command php artisan october:install

Enter a valid License Key to proceed.
[ERROR] Too many failed attempts, please start again

What it means? Where is the problem?

Last updated

daftspunky
daftspunky

It looks like artisan is not waiting for the user input. It is something related to your bash terminal or PHP version.

You can still install manually by doing the following:

  1. Run php artisan project:set <ENTER LICENSE KEY HERE>

Then include the core modules via composer

php artisan october:build
  1. Open .env file and set the configuration (look in config/ files to know what each value does) and proceed with the migration
php artisan october:migrate

Last updated

vladimir.camaj64790
vladimir.camaj64790

Ok it works. Thanks a lot.

But I dont understand. Did not have any problem with artisan nor composer commands till now.

Last updated

daftspunky
daftspunky

We have added notes about non-interactive support to the installer from now on. Thanks!

1-8 of 8

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.