Erro on install from github on Raspbian


#1

Hy i have try to install DF on Raspbian, but i always receive the error:

pi@raspberrypi:~/df2 $ php artisan dreamfactory:setup


  • Welcome to DreamFactory setup wizard.

Running Migrations…
Migration driver used: mysql


  • Welcome to DreamFactory setup wizard.

Running Migrations…
Migration driver used: mysql
SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘user’ already exists (SQL: create table user (id int unsigned not null auto_increment primary key, name varchar(255) not null, first_name varchar(255) null, last_name varchar(255) null, last_login_date datetime null, email varchar(255) not null, password text null, is_sys_admin tinyint(1) not null default ‘0’, is_active tinyint(1) not null default ‘1’, phone varchar(32) null, security_question varchar(255) null, security_answer text null, confirm_code varchar(255) null, default_app_id int unsigned null, remember_token varchar(100) null, created_date timestamp null, last_modified_date timestamp default CURRENT_TIMESTAMP not null, created_by_id int unsigned null, last_modified_by_id int unsigned null) default character set utf8mb4 collate utf8mb4_unicode_ci)

My Mysql version:
pi@raspberrypi:~/df2 $ mysql --version
mysql Ver 14.14 Distrib 5.6.30, for debian-linux-gnueabihf (armv7l) using EditLine wrapper

My database “dreamfactory” is clean.

Anyone can help me?


#2

Hi Gilson,
You continuous with a problem?

I Suggest do you run a php artisan migrate:install manually,
If the problem persists, try using the SQLite driver.

best regards,
Junior Conte


#3

Hy Juniior,

I tryied to run migrate manually but i receive the same error, so i changed it to use SQLite driver and the Dreamfactory works like a charm.

It’s been three weeks in full operation.

I do not know the reason for the error when using Mysql, I intend to investigate better later. (In the same tests only occur in Raspbian)

Thanks for your help