Aimeos installation from composer works but stop executing before database setup
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 15
- Joined: 14 Jul 2020, 10:59
Re: Aimeos installation from composer works but stop executing before database setup
here is the out for: composer show
Re: Aimeos installation from composer works but stop executing before database setup
Can you have a look if your installed version contains this code now ("id" instead of "bigIncrements")?
https://github.com/aimeos/aimeos/commit ... 6d640f8d94
https://github.com/aimeos/aimeos/commit ... 6d640f8d94
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 15
- Joined: 14 Jul 2020, 10:59
Re: Aimeos installation from composer works but stop executing before database setup
yes this is the code in the user migration file.
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->id('id');
$table->string('name');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->rememberToken();
$table->timestamps();
});
}
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->id('id');
$table->string('name');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->rememberToken();
$table->timestamps();
});
}
-
- Posts: 15
- Joined: 14 Jul 2020, 10:59
Re: Aimeos installation from composer works but stop executing before database setup
I don't know if this helps, but this is the error I get when opening the dev server of laravel,
Re: Aimeos installation from composer works but stop executing before database setup
If the setup doesn't run flawlessly, the application won't run at all.
Can you please post the output of
from the mysql console?
Can you please post the output of
Code: Select all
show create table users;
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 15
- Joined: 14 Jul 2020, 10:59
Re: Aimeos installation from composer works but stop executing before database setup
this is the output on the sql command line
- Attachments
-
- 654654.jpg (79.07 KiB) Viewed 2707 times
Re: Aimeos installation from composer works but stop executing before database setup
We need the full output of
but I guess your MySQL server uses the MyISAM table engine by default for some reasons. Can you please try again:
We've updated the migration file to enfore InnoDB engine for the users table now.
Code: Select all
show create table users
Code: Select all
composer create-project aimeos/aimeos:2019.10.x-dev myshop
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 15
- Joined: 14 Jul 2020, 10:59
Re: Aimeos installation from composer works but stop executing before database setup
where should i put this?
show create table users , should i put it in the sql command line?
Also i have changed my default engine to InnoDB by editing the my.ini file in mysql and in maria db so all tables by default will be created as innodb.
I ran the composer create-project aimeos/aimeos:2019.10.x-dev myshop a few times before and after changing my default engine but now it seems that the migrations are not running due to an exception. a pic can be seen below
thanks for the help
show create table users , should i put it in the sql command line?
Also i have changed my default engine to InnoDB by editing the my.ini file in mysql and in maria db so all tables by default will be created as innodb.
I ran the composer create-project aimeos/aimeos:2019.10.x-dev myshop a few times before and after changing my default engine but now it seems that the migrations are not running due to an exception. a pic can be seen below
thanks for the help
-
- Posts: 15
- Joined: 14 Jul 2020, 10:59
Re: Aimeos installation from composer works but stop executing before database setup
I HAVE GOOD NEWS!!! (sorry for caps)
I finally fixed the problem, so basically I had to change the default engine of the DB to Innodb by editing the my.ini files of MariaDB and MySQL. Then I ran the standard composer create-project aimeos/aimeos myshop, and it worked
thanks so much for your help and patience
I finally fixed the problem, so basically I had to change the default engine of the DB to Innodb by editing the my.ini files of MariaDB and MySQL. Then I ran the standard composer create-project aimeos/aimeos myshop, and it worked
thanks so much for your help and patience
Re: Aimeos installation from composer works but stop executing before database setup
Great! We've changed that in the Laravel migration file too, so the tables will be created using the InnoDB engine regardless of the MySQL server settings.
Can you try again using:
We've fixed the id() problem so we want to release a new version with all the changes.
Thank you for your time and patience!
Can you try again using:
Code: Select all
composer create-project aimeos/aimeos:2019.10.x-dev myshop
Thank you for your time and patience!
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star