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

Going to IP/firefly-iii/public gives an Apache not found error #858

Closed
TheGammelgalopper opened this issue Sep 19, 2017 · 26 comments
Closed

Comments

@TheGammelgalopper
Copy link

Hey guys,
I really want to use this programm, but I just can't figure it out...
I am now sitting here and finished after 2 hours but can't get it to show up...
I followed the installation guide and have a working LAMP stack.
php -i says this:
`
phpinfo()
PHP Version => 7.1.9-1+ubuntu16.04.1+deb.sury.org+1

System => Linux firefly 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64
Build Date => Sep 2 2017 05:56:43
`

composer -v
Composer version 1.5.2 2017-09-11 16:59:25

My .env file:
`APP_ENV=production
APP_DEBUG=true
APP_FORCE_SSL=false
APP_FORCE_ROOT=firefly.halnet.cloud
APP_KEY=base64:zhugMsHeZtjl1WETzyKDyYQw02vWtHKG4fVK03WJu0o=
APP_LOG=daily
APP_LOG_LEVEL=debug
APP_URL=http://localhost

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=firefly
DB_USERNAME=firefly
DB_PASSWORD=firefly

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

COOKIE_PATH="/"
COOKIE_DOMAIN=
COOKIE_SECURE=false

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=imap.gmail.com
MAIL_PORT=993
MAIL_FROM=xyz@gmail.com
MAIL_USERNAME=xyz@gmail.com
MAIL_PASSWORD=xyz'spassword
MAIL_ENCRYPTION=true

SEND_REGISTRATION_MAIL=true
SEND_ERROR_MESSAGE=true
SHOW_INCOMPLETE_TRANSLATIONS=false

CACHE_PREFIX=firefly

EXCHANGE_RATE_SERVICE=fixerio

GOOGLE_MAPS_API_KEY=
ANALYTICS_ID=
SITE_OWNER=xyz@gmail.com
USE_ENCRYPTION=true

PUSHER_KEY=
PUSHER_SECRET=
PUSHER_APP_ID=

DEMO_USERNAME=
DEMO_PASSWORD=
`

And then lastly, this command (sudo php artisan migrate:refresh --seed) gives me this:
`**************************************

  • Application In Production!     *
    

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

going through everything with yes results in this:**************************************

  • Application In Production!     *
    

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

yes


  • Application In Production!     *
    

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

yes

[Illuminate\Database\QueryException]
SQLSTATE[23000]: Integrity constraint violation: 1217 Cannot delete or update a parent row: a foreign key constr
aint fails (SQL: drop table users)

[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[23000]: Integrity constraint violation: 1217 Cannot delete or update a parent row: a foreign key constr
aint fails

[PDOException]
SQLSTATE[23000]: Integrity constraint violation: 1217 Cannot delete or update a parent row: a foreign key constr
aint fails
`

I have no clue what is going on, this seems to be some kind of database error, but I have no idea what to do. I just wanted to install a programm and not get a degree in computer science...
For today that's it, I am going to sleep, see you in the morning.
I hope somebody is able to help me!

@JC5
Copy link
Member

JC5 commented Sep 19, 2017

I think your database has been initialized before, so it can't remove the tables since they're already there. Perhaps a previous attempt only left half the tables.

You could use a database manager such as phpmyadmin and clear out all the tables from the firefly database, then run the command again. To remove the questions, run it like this:

php artisan migrate:refresh --seed --force

@JC5 JC5 added the question label Sep 19, 2017
@TheGammelgalopper
Copy link
Author

TheGammelgalopper commented Sep 19, 2017

So I deleted the database and created a new one with the same name and the command you proposed.
It now says this:
Migration table not found. Migration table created successfully. Migrating: 2016_06_16_000000_create_support_tables Migrated: 2016_06_16_000000_create_support_tables Migrating: 2016_06_16_000001_create_users_table Migrated: 2016_06_16_000001_create_users_table Migrating: 2016_06_16_000002_create_main_tables Migrated: 2016_06_16_000002_create_main_tables Migrating: 2016_08_25_091522_changes_for_3101 Migrated: 2016_08_25_091522_changes_for_3101 Migrating: 2016_09_12_121359_fix_nullables Migrated: 2016_09_12_121359_fix_nullables Migrating: 2016_10_09_150037_expand_transactions_table Migrated: 2016_10_09_150037_expand_transactions_table Migrating: 2016_10_22_075804_changes_for_v410 Migrated: 2016_10_22_075804_changes_for_v410 Migrating: 2016_11_24_210552_changes_for_v420 Migrated: 2016_11_24_210552_changes_for_v420 Migrating: 2016_12_22_150431_changes_for_v430 Migrated: 2016_12_22_150431_changes_for_v430 Migrating: 2016_12_28_203205_changes_for_v431 Migrated: 2016_12_28_203205_changes_for_v431 Migrating: 2017_04_13_163623_changes_for_v440 Migrated: 2017_04_13_163623_changes_for_v440 Migrating: 2017_06_02_105232_changes_for_v450 Migrated: 2017_06_02_105232_changes_for_v450 Migrating: 2017_08_20_062014_changes_for_v470 Migrated: 2017_08_20_062014_changes_for_v470 Seeding: AccountTypeSeeder Seeding: TransactionCurrencySeeder Seeding: TransactionTypeSeeder Seeding: PermissionSeeder Seeding: LinkTypeSeeder

But still I can only see "not found" under firefly.halnet.cloud/firefly-iii/public...

@JC5
Copy link
Member

JC5 commented Sep 19, 2017

It says not found, have you checked this part of the guide, under Apache 2?

https://firefly-iii.github.io/using-installing.html

That might fix it.

@TheGammelgalopper
Copy link
Author

Yes I did.
apache2.conf:
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
so that seems to be good...

However at the start of the document it looks like this:
apache2-conf

@JC5
Copy link
Member

JC5 commented Sep 19, 2017

That's not a problem. Is mod_rewrite enabled?

sudo a2enmod rewrite

Restart Apache afterwards.

@AndreiGavriliu
Copy link

In case you still need help, here's a short tutorial:

go to your firefly-iii public folder and run 'pwd'

skynet@cyberdyne:/var/www/firefly-iii/public $ pwd
/var/www/firefly-iii/public

copy the result into your apache2 sites-enabled default file. Mine is /etc/apache2/sites-enabled/000-default.conf - it depends on linux distro and update the directory node

<Directory /var/www/firefly-iii/public>
        Options Indexes FollowSymLinks
       	AllowOverride All
       	Require all granted
</Directory>

restart apache

@TheGammelgalopper
Copy link
Author

@JC5 yes, mod_rewrite is enabled:
sysadmin@firefly:~$ sudo a2enmod rewrite Module rewrite already enabled

@gavu I followed your instructions, it sadly didnt make any difference....

@JC5
Copy link
Member

JC5 commented Sep 19, 2017

Change the www-root to firefly-iii/public. Is index.php in the DirectoryIndex config entry?

@AndreiGavriliu
Copy link

AndreiGavriliu commented Sep 19, 2017

@TheGammelgalopper there are a few reasons why you would get that 404:

  1. apache points to the wrong directory
  2. apache (www-data) has no read permissions for the www-root directory
  3. apache cannot handle your .htaccess file

did you run these? make sure you update the commands to reflect your path

sudo chown -R www-data:www-data /var/www/firefly-iii
sudo chmod -R 775 /var/www/firefly-iii/storage

@TheGammelgalopper
Copy link
Author

TheGammelgalopper commented Sep 19, 2017

@JC5 Where do I find the www-root? In the apache2.conf? This?:
`# Do NOT add a slash at the end of the directory path.

#ServerRoot "/etc/apache2"
`

index.php is is the first entry!

@gavu
Tell me more about that htaccess file...?

I did run the two commands.

@AndreiGavriliu
Copy link

The .htaccess file must be readable by www-data (your apache daemon user) and mod-rewrite must be enabled, which by previous posts, is enabled

@AndreiGavriliu
Copy link

if you ran the previous commands, there should not be any permission issues... If I may ask, do you have anything extremely private on your server? you could provide me some access, I could check everything for you

@TheGammelgalopper
Copy link
Author

TheGammelgalopper commented Sep 19, 2017

I guess that would probably be the best...
No the server is just a VM running on XenServer directly next to me... So nothing private with that.
The only proplem I currently see with that, is that the server sits behind an isp's router and my pfsense router/firewall. I am currently using an internal domain for which I have already bought the domain name but I didn't set up the outside communication yet...
Teamviewer would work though... (If I install it on another vm...)

@AndreiGavriliu
Copy link

I'm putting my son to bed right now, give me a few minutes

@TheGammelgalopper
Copy link
Author

No worries, I am setting up the environment

@AndreiGavriliu
Copy link

AndreiGavriliu commented Sep 19, 2017

send me an email at [Dear NSA: I just removed it because I love my privacy] with your teamviewer id

@TheGammelgalopper
Copy link
Author

TheGammelgalopper commented Sep 19, 2017

So that problem is solved! Thx to @gavu who was the best help!

However a new problem occured...
When loading the page it now says this:
`

(1/1) InvalidArgumentException

View [emails.error-html] not found.

in FileViewFinder.php (line 137)
at FileViewFinder->findInPaths('emails.error-html', array('/var/www/firefly-iii/resources/views'))in FileViewFinder.php (line 79)
at FileViewFinder->find('emails.error-html')in Factory.php (line 128)
at Factory->make('emails.error-html', array('class' => 'Symfony\\Component\\Debug\\Exception\\FatalThrowableError', 'errorMessage' => 'Parse error: syntax error, unexpected \'?\', expecting variable (T_VARIABLE)', 'time' => 'Tue, 19 Sep 2017 20:10:01 +0000', 'stackTrace' => '#0 /var/www/firefly-iii/vendor/composer/ClassLoader.php(322): Composer\\Autoload\\includeFile(\'/var/www/firefl...\')#1 [internal function]: Composer\\Autoload\\ClassLoader->loadClass(\'FireflyIII\\\\Supp...\')#2 /var/www/firefly-iii/app/Providers/FireflyServiceProvider.php(77): spl_autoload_call(\'FireflyIII\\\\Supp...\')#3 [internal function]: FireflyIII\\Providers\\FireflyServiceProvider->boot()#4 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)#5 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()#6 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))#7 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/Container.php(539): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)#8 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(788): Illuminate\\Container\\Container->call(Array)#9 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(771): Illuminate\\Foundation\\Application->bootProvider(Object(FireflyIII\\Providers\\FireflyServiceProvider))#10 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}(Object(FireflyIII\\Providers\\FireflyServiceProvider), 19)#11 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(772): array_walk(Array, Object(Closure))#12 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()#13 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(208): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap(Object(Illuminate\\Foundation\\Application))#14 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(162): Illuminate\\Foundation\\Application->bootstrapWith(Array)#15 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(146): Illuminate\\Foundation\\Http\\Kernel->bootstrap()#16 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#17 /var/www/firefly-iii/public/index.php(57): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#18 {main}', 'file' => '/var/www/firefly-iii/app/Support/Twig/General.php', 'line' => 151, 'code' => 0, 'version' => '4.6.5', 'loggedIn' => false, 'user' => array('id' => 0, 'email' => 'unknown@example.com'), 'ip' => '10.10.10.11', 'message' => object(Message)))in Mailer.php (line 310)
at Mailer->renderView('emails.error-html', array('class' => 'Symfony\\Component\\Debug\\Exception\\FatalThrowableError', 'errorMessage' => 'Parse error: syntax error, unexpected \'?\', expecting variable (T_VARIABLE)', 'time' => 'Tue, 19 Sep 2017 20:10:01 +0000', 'stackTrace' => '#0 /var/www/firefly-iii/vendor/composer/ClassLoader.php(322): Composer\\Autoload\\includeFile(\'/var/www/firefl...\')#1 [internal function]: Composer\\Autoload\\ClassLoader->loadClass(\'FireflyIII\\\\Supp...\')#2 /var/www/firefly-iii/app/Providers/FireflyServiceProvider.php(77): spl_autoload_call(\'FireflyIII\\\\Supp...\')#3 [internal function]: FireflyIII\\Providers\\FireflyServiceProvider->boot()#4 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)#5 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()#6 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))#7 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/Container.php(539): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)#8 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(788): Illuminate\\Container\\Container->call(Array)#9 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(771): Illuminate\\Foundation\\Application->bootProvider(Object(FireflyIII\\Providers\\FireflyServiceProvider))#10 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}(Object(FireflyIII\\Providers\\FireflyServiceProvider), 19)#11 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(772): array_walk(Array, Object(Closure))#12 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()#13 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(208): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap(Object(Illuminate\\Foundation\\Application))#14 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(162): Illuminate\\Foundation\\Application->bootstrapWith(Array)#15 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(146): Illuminate\\Foundation\\Http\\Kernel->bootstrap()#16 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#17 /var/www/firefly-iii/public/index.php(57): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#18 {main}', 'file' => '/var/www/firefly-iii/app/Support/Twig/General.php', 'line' => 151, 'code' => 0, 'version' => '4.6.5', 'loggedIn' => false, 'user' => array('id' => 0, 'email' => 'unknown@example.com'), 'ip' => '10.10.10.11', 'message' => object(Message)))in Mailer.php (line 283)
at Mailer->addContent(object(Message), 'emails.error-html', 'emails.error-text', null, array('class' => 'Symfony\\Component\\Debug\\Exception\\FatalThrowableError', 'errorMessage' => 'Parse error: syntax error, unexpected \'?\', expecting variable (T_VARIABLE)', 'time' => 'Tue, 19 Sep 2017 20:10:01 +0000', 'stackTrace' => '#0 /var/www/firefly-iii/vendor/composer/ClassLoader.php(322): Composer\\Autoload\\includeFile(\'/var/www/firefl...\')#1 [internal function]: Composer\\Autoload\\ClassLoader->loadClass(\'FireflyIII\\\\Supp...\')#2 /var/www/firefly-iii/app/Providers/FireflyServiceProvider.php(77): spl_autoload_call(\'FireflyIII\\\\Supp...\')#3 [internal function]: FireflyIII\\Providers\\FireflyServiceProvider->boot()#4 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)#5 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()#6 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))#7 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/Container.php(539): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)#8 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(788): Illuminate\\Container\\Container->call(Array)#9 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(771): Illuminate\\Foundation\\Application->bootProvider(Object(FireflyIII\\Providers\\FireflyServiceProvider))#10 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}(Object(FireflyIII\\Providers\\FireflyServiceProvider), 19)#11 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(772): array_walk(Array, Object(Closure))#12 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()#13 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(208): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap(Object(Illuminate\\Foundation\\Application))#14 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(162): Illuminate\\Foundation\\Application->bootstrapWith(Array)#15 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(146): Illuminate\\Foundation\\Http\\Kernel->bootstrap()#16 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#17 /var/www/firefly-iii/public/index.php(57): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#18 {main}', 'file' => '/var/www/firefly-iii/app/Support/Twig/General.php', 'line' => 151, 'code' => 0, 'version' => '4.6.5', 'loggedIn' => false, 'user' => array('id' => 0, 'email' => 'unknown@example.com'), 'ip' => '10.10.10.11', 'message' => object(Message)))in Mailer.php (line 200)
at Mailer->send('emails.error-html', array('class' => 'Symfony\\Component\\Debug\\Exception\\FatalThrowableError', 'errorMessage' => 'Parse error: syntax error, unexpected \'?\', expecting variable (T_VARIABLE)', 'time' => 'Tue, 19 Sep 2017 20:10:01 +0000', 'stackTrace' => '#0 /var/www/firefly-iii/vendor/composer/ClassLoader.php(322): Composer\\Autoload\\includeFile(\'/var/www/firefl...\')#1 [internal function]: Composer\\Autoload\\ClassLoader->loadClass(\'FireflyIII\\\\Supp...\')#2 /var/www/firefly-iii/app/Providers/FireflyServiceProvider.php(77): spl_autoload_call(\'FireflyIII\\\\Supp...\')#3 [internal function]: FireflyIII\\Providers\\FireflyServiceProvider->boot()#4 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)#5 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()#6 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))#7 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/Container.php(539): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)#8 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(788): Illuminate\\Container\\Container->call(Array)#9 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(771): Illuminate\\Foundation\\Application->bootProvider(Object(FireflyIII\\Providers\\FireflyServiceProvider))#10 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}(Object(FireflyIII\\Providers\\FireflyServiceProvider), 19)#11 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(772): array_walk(Array, Object(Closure))#12 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()#13 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(208): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap(Object(Illuminate\\Foundation\\Application))#14 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(162): Illuminate\\Foundation\\Application->bootstrapWith(Array)#15 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(146): Illuminate\\Foundation\\Http\\Kernel->bootstrap()#16 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#17 /var/www/firefly-iii/public/index.php(57): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#18 {main}', 'file' => '/var/www/firefly-iii/app/Support/Twig/General.php', 'line' => 151, 'code' => 0, 'version' => '4.6.5', 'loggedIn' => false, 'user' => array('id' => 0, 'email' => 'unknown@example.com'), 'ip' => '10.10.10.11', 'message' => object(Message)), object(Closure))in Facade.php (line 221)
at Facade::__callStatic('send', array(array('emails.error-html', 'emails.error-text'), array('class' => 'Symfony\\Component\\Debug\\Exception\\FatalThrowableError', 'errorMessage' => 'Parse error: syntax error, unexpected \'?\', expecting variable (T_VARIABLE)', 'time' => 'Tue, 19 Sep 2017 20:10:01 +0000', 'stackTrace' => '#0 /var/www/firefly-iii/vendor/composer/ClassLoader.php(322): Composer\\Autoload\\includeFile(\'/var/www/firefl...\')#1 [internal function]: Composer\\Autoload\\ClassLoader->loadClass(\'FireflyIII\\\\Supp...\')#2 /var/www/firefly-iii/app/Providers/FireflyServiceProvider.php(77): spl_autoload_call(\'FireflyIII\\\\Supp...\')#3 [internal function]: FireflyIII\\Providers\\FireflyServiceProvider->boot()#4 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)#5 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()#6 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))#7 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/Container.php(539): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)#8 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(788): Illuminate\\Container\\Container->call(Array)#9 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(771): Illuminate\\Foundation\\Application->bootProvider(Object(FireflyIII\\Providers\\FireflyServiceProvider))#10 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}(Object(FireflyIII\\Providers\\FireflyServiceProvider), 19)#11 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(772): array_walk(Array, Object(Closure))#12 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()#13 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(208): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap(Object(Illuminate\\Foundation\\Application))#14 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(162): Illuminate\\Foundation\\Application->bootstrapWith(Array)#15 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(146): Illuminate\\Foundation\\Http\\Kernel->bootstrap()#16 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#17 /var/www/firefly-iii/public/index.php(57): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#18 {main}', 'file' => '/var/www/firefly-iii/app/Support/Twig/General.php', 'line' => 151, 'code' => 0, 'version' => '4.6.5', 'loggedIn' => false, 'user' => array('id' => 0, 'email' => 'unknown@example.com'), 'ip' => '10.10.10.11'), object(Closure)))in MailError.php (line 86)
at MailError->handle()
at call_user_func_array(array(object(MailError), 'handle'), array())in BoundMethod.php (line 29)
at BoundMethod::Illuminate\Container\{closure}()in BoundMethod.php (line 87)
at BoundMethod::callBoundMethod(object(Application), array(object(MailError), 'handle'), object(Closure))in BoundMethod.php (line 31)
at BoundMethod::call(object(Application), array(object(MailError), 'handle'), array(), null)in Container.php (line 539)
at Container->call(array(object(MailError), 'handle'))in Dispatcher.php (line 94)
at Dispatcher->Illuminate\Bus\{closure}(object(MailError))in Pipeline.php (line 114)
at Pipeline->Illuminate\Pipeline\{closure}(object(MailError))in Pipeline.php (line 102)
at Pipeline->then(object(Closure))in Dispatcher.php (line 98)
at Dispatcher->dispatchNow(object(MailError), false)in CallQueuedHandler.php (line 42)
at CallQueuedHandler->call(object(SyncJob), array('commandName' => 'FireflyIII\\Jobs\\MailError', 'command' => 'O:25:"FireflyIII\\Jobs\\MailError":8:{s:14:"' . "\0" . '*' . "\0" . 'destination";s:16:"mail@example.com";s:12:"' . "\0" . '*' . "\0" . 'exception";a:8:{s:5:"class";s:53:"Symfony\\Component\\Debug\\Exception\\FatalThrowableError";s:12:"errorMessage";s:74:"Parse error: syntax error, unexpected \'?\', expecting variable (T_VARIABLE)";s:4:"time";s:31:"Tue, 19 Sep 2017 20:10:01 +0000";s:10:"stackTrace";s:2681:"#0 /var/www/firefly-iii/vendor/composer/ClassLoader.php(322): Composer\\Autoload\\includeFile(\'/var/www/firefl...\')#1 [internal function]: Composer\\Autoload\\ClassLoader->loadClass(\'FireflyIII\\\\Supp...\')#2 /var/www/firefly-iii/app/Providers/FireflyServiceProvider.php(77): spl_autoload_call(\'FireflyIII\\\\Supp...\')#3 [internal function]: FireflyIII\\Providers\\FireflyServiceProvider->boot()#4 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)#5 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()#6 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))#7 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Container/Container.php(539): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)#8 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(788): Illuminate\\Container\\Container->call(Array)#9 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(771): Illuminate\\Foundation\\Application->bootProvider(Object(FireflyIII\\Providers\\FireflyServiceProvider))#10 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}(Object(FireflyIII\\Providers\\FireflyServiceProvider), 19)#11 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(772): array_walk(Array, Object(Closure))#12 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()#13 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(208): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap(Object(Illuminate\\Foundation\\Application))#14 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(162): Illuminate\\Foundation\\Application->bootstrapWith(Array)#15 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(146): Illuminate\\Foundation\\Http\\Kernel->bootstrap()#16 /var/www/firefly-iii/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#17 /var/www/firefly-iii/public/index.php(57): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#18 {main}";s:4:"file";s:49:"/var/www/firefly-iii/app/Support/Twig/General.php";s:4:"line";i:151;s:4:"code";i:0;s:7:"version";s:5:"4.6.5";}s:12:"' . "\0" . '*' . "\0" . 'ipAddress";s:11:"10.10.10.11";s:11:"' . "\0" . '*' . "\0" . 'userData";a:2:{s:2:"id";i:0;s:5:"email";s:19:"unknown@example.com";}s:10:"connection";N;s:5:"queue";N;s:5:"delay";N;s:6:"' . "\0" . '*' . "\0" . 'job";N;}'))in Job.php (line 69)
at Job->fire()in SyncQueue.php (line 42)
at SyncQueue->push(object(MailError))in Dispatcher.php (line 184)
at Dispatcher->pushCommandToQueue(object(SyncQueue), object(MailError))in Dispatcher.php (line 159)
at Dispatcher->dispatchToQueue(object(MailError))in Dispatcher.php (line 73)
at Dispatcher->dispatch(object(MailError))in helpers.php (line 378)
at dispatch(object(MailError))in Handler.php (line 107)
at Handler->report(object(FatalThrowableError))in Kernel.php (line 314)
at Kernel->reportException(object(FatalThrowableError))in Kernel.php (line 122)
at Kernel->handle(object(Request))in index.php (line 57)
`

@AndreiGavriliu
Copy link

DocumentRoot was set to DocumentRoot /var/www/html, changed it to DocumentRoot /var/www/firefly-iii/public

The <Directory /var/www/firefly-iii/public> node was outside of the <VirtualHost>

Now apache runs as expected, however... the above error occurred. I thought it would be because of a '/' character in his SMTP password, which I changed to a wrong one just to see if it changes anything, but no

@JC5
Copy link
Member

JC5 commented Sep 20, 2017

I'll have to look into it, but it's a sign not everything is working correctly yet. I had it too in a dev-environment but it was gone before I could look into it.

Unfortunately, it won't be until Sunday or later next week that I can check it out.

@TheGammelgalopper
Copy link
Author

Thanks for looking into this!

Somehow I just get all the errors... I tried a fresh install on Ubuntu 17.04 instead of on 16.04 and kind of got through the installation...
But now the webpage is showing me this:
<div class="container"> <div class="trace trace-as-html"> <table class="trace-details"> <thead class="trace-head"><tr><th> <h3 class="trace-class"> <span class="text-muted">(3/3)</span> <span class="exception_title"><abbr title="Illuminate\Database\QueryException">QueryException</abbr></span> </h3> <p class="break-long-words trace-message">could not find driver (SQL: select id, name, datafromconfigurationwherename= is_demo_site andconfiguration.deleted_at` is null limit 1)



in Connection.php (line 647)

at Connection->runQueryCallback('select `id`, `name`, `data` from `configuration` where `name` = ? and `configuration`.`deleted_at` is null limit 1', array('is_demo_site'), object(Closure))in Connection.php (line 607) at Connection->run('select `id`, `name`, `data` from `configuration` where `name` = ? and `configuration`.`deleted_at` is null limit 1', array('is_demo_site'), object(Closure))in Connection.php (line 326) at Connection->select('select `id`, `name`, `data` from `configuration` where `name` = ? and `configuration`.`deleted_at` is null limit 1', array('is_demo_site'), true)in Builder.php (line 1705) at Builder->runSelect()in Builder.php (line 1690) at Builder->get(array('id', 'name', 'data'))in Builder.php (line 462) at Builder->getModels(array('id', 'name', 'data'))in Builder.php (line 446) at Builder->get(array('id', 'name', 'data'))in BuildsQueries.php (line 75) at Builder->first(array('id', 'name', 'data'))in FireflyConfig.php (line 57) at FireflyConfig->get('is_demo_site', false)in Facade.php (line 221) at Facade::__callStatic('get', array('is_demo_site', false))in Controller.php (line 60) at Controller->__construct()in HomeController.php (line 44) at HomeController->__construct() at ReflectionClass->newInstanceArgs(array())in Container.php (line 762) at Container->build('FireflyIII\\Http\\Controllers\\HomeController')in Container.php (line 608) at Container->resolve('FireflyIII\\Http\\Controllers\\HomeController')in Container.php (line 575) at Container->make('FireflyIII\\Http\\Controllers\\HomeController')in Application.php (line 728) at Application->make('FireflyIII\\Http\\Controllers\\HomeController')in Route.php (line 217) at Route->getController()in Route.php (line 747) at Route->controllerMiddleware()in Route.php (line 708) at Route->gatherMiddleware()in Router.php (line 585) at Router->gatherRouteMiddleware(object(Route))in Router.php (line 565) at Router->runRouteWithinStack(object(Route), object(Request))in Router.php (line 533) at Router->dispatchToRoute(object(Request))in Router.php (line 511) at Router->dispatch(object(Request))in Kernel.php (line 176) at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))in Pipeline.php (line 30) at Pipeline->Illuminate\Routing\{closure}(object(Request))in CheckForMaintenanceMode.php (line 46) at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php (line 102) at Pipeline->then(object(Closure))in Kernel.php (line 151) at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php (line 116) at Kernel->handle(object(Request))in index.php (line 57)

(2/3) PDOException

could not find driver

in PDOConnection.php (line 47)
at PDOConnection->__construct('mysql:host=127.0.0.1;port=3306;dbname=firefly', 'root', 'Megaman78', array(0, 2, 0, false, false))in Connector.php (line 65)
at Connector->createPdoConnection('mysql:host=127.0.0.1;port=3306;dbname=firefly', 'root', 'Megaman78', array(0, 2, 0, false, false))in Connector.php (line 44)
at Connector->createConnection('mysql:host=127.0.0.1;port=3306;dbname=firefly', array('driver' => 'mysql', 'host' => '127.0.0.1', 'port' => '3306', 'database' => 'firefly', 'username' => 'root', 'password' => 'Megaman78', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => true, 'engine' => null, 'name' => 'mysql'), array(0, 2, 0, false, false))in MySqlConnector.php (line 24)
at MySqlConnector->connect(array('driver' => 'mysql', 'host' => '127.0.0.1', 'port' => '3306', 'database' => 'firefly', 'username' => 'root', 'password' => 'Megaman78', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => true, 'engine' => null, 'name' => 'mysql'))in ConnectionFactory.php (line 183)
at ConnectionFactory->Illuminate\Database\Connectors\{closure}()
at call_user_func(object(Closure))in Connection.php (line 883)
at Connection->getPdo()in Connection.php (line 904)
at Connection->getReadPdo()in Connection.php (line 392)
at Connection->getPdoForSelect(true)in Connection.php (line 318)
at Connection->Illuminate\Database\{closure}('select `id`, `name`, `data` from `configuration` where `name` = ? and `configuration`.`deleted_at` is null limit 1', array('is_demo_site'))in Connection.php (line 640)
at Connection->runQueryCallback('select `id`, `name`, `data` from `configuration` where `name` = ? and `configuration`.`deleted_at` is null limit 1', array('is_demo_site'), object(Closure))in Connection.php (line 607)
at Connection->run('select `id`, `name`, `data` from `configuration` where `name` = ? and `configuration`.`deleted_at` is null limit 1', array('is_demo_site'), object(Closure))in Connection.php (line 326)
at Connection->select('select `id`, `name`, `data` from `configuration` where `name` = ? and `configuration`.`deleted_at` is null limit 1', array('is_demo_site'), true)in Builder.php (line 1705)
at Builder->runSelect()in Builder.php (line 1690)
at Builder->get(array('id', 'name', 'data'))in Builder.php (line 462)
at Builder->getModels(array('id', 'name', 'data'))in Builder.php (line 446)
at Builder->get(array('id', 'name', 'data'))in BuildsQueries.php (line 75)
at Builder->first(array('id', 'name', 'data'))in FireflyConfig.php (line 57)
at FireflyConfig->get('is_demo_site', false)in Facade.php (line 221)
at Facade::__callStatic('get', array('is_demo_site', false))in Controller.php (line 60)
at Controller->__construct()in HomeController.php (line 44)
at HomeController->__construct()
at ReflectionClass->newInstanceArgs(array())in Container.php (line 762)
at Container->build('FireflyIII\\Http\\Controllers\\HomeController')in Container.php (line 608)
at Container->resolve('FireflyIII\\Http\\Controllers\\HomeController')in Container.php (line 575)
at Container->make('FireflyIII\\Http\\Controllers\\HomeController')in Application.php (line 728)
at Application->make('FireflyIII\\Http\\Controllers\\HomeController')in Route.php (line 217)
at Route->getController()in Route.php (line 747)
at Route->controllerMiddleware()in Route.php (line 708)
at Route->gatherMiddleware()in Router.php (line 585)
at Router->gatherRouteMiddleware(object(Route))in Router.php (line 565)
at Router->runRouteWithinStack(object(Route), object(Request))in Router.php (line 533)
at Router->dispatchToRoute(object(Request))in Router.php (line 511)
at Router->dispatch(object(Request))in Kernel.php (line 176)
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))in Pipeline.php (line 30)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in CheckForMaintenanceMode.php (line 46)
at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php (line 102)
at Pipeline->then(object(Closure))in Kernel.php (line 151)
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php (line 116)
at Kernel->handle(object(Request))in index.php (line 57)

(1/3) PDOException

could not find driver

in PDOConnection.php (line 43)
at PDO->__construct('mysql:host=127.0.0.1;port=3306;dbname=firefly', 'root', 'Megaman78', array(0, 2, 0, false, false))in PDOConnection.php (line 43)
at PDOConnection->__construct('mysql:host=127.0.0.1;port=3306;dbname=firefly', 'root', 'Megaman78', array(0, 2, 0, false, false))in Connector.php (line 65)
at Connector->createPdoConnection('mysql:host=127.0.0.1;port=3306;dbname=firefly', 'root', 'Megaman78', array(0, 2, 0, false, false))in Connector.php (line 44)
at Connector->createConnection('mysql:host=127.0.0.1;port=3306;dbname=firefly', array('driver' => 'mysql', 'host' => '127.0.0.1', 'port' => '3306', 'database' => 'firefly', 'username' => 'root', 'password' => 'Megaman78', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => true, 'engine' => null, 'name' => 'mysql'), array(0, 2, 0, false, false))in MySqlConnector.php (line 24)
at MySqlConnector->connect(array('driver' => 'mysql', 'host' => '127.0.0.1', 'port' => '3306', 'database' => 'firefly', 'username' => 'root', 'password' => 'Megaman78', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => true, 'engine' => null, 'name' => 'mysql'))in ConnectionFactory.php (line 183)
at ConnectionFactory->Illuminate\Database\Connectors\{closure}()
at call_user_func(object(Closure))in Connection.php (line 883)
at Connection->getPdo()in Connection.php (line 904)
at Connection->getReadPdo()in Connection.php (line 392)
at Connection->getPdoForSelect(true)in Connection.php (line 318)
at Connection->Illuminate\Database\{closure}('select `id`, `name`, `data` from `configuration` where `name` = ? and `configuration`.`deleted_at` is null limit 1', array('is_demo_site'))in Connection.php (line 640)
at Connection->runQueryCallback('select `id`, `name`, `data` from `configuration` where `name` = ? and `configuration`.`deleted_at` is null limit 1', array('is_demo_site'), object(Closure))in Connection.php (line 607)
at Connection->run('select `id`, `name`, `data` from `configuration` where `name` = ? and `configuration`.`deleted_at` is null limit 1', array('is_demo_site'), object(Closure))in Connection.php (line 326)
at Connection->select('select `id`, `name`, `data` from `configuration` where `name` = ? and `configuration`.`deleted_at` is null limit 1', array('is_demo_site'), true)in Builder.php (line 1705)
at Builder->runSelect()in Builder.php (line 1690)
at Builder->get(array('id', 'name', 'data'))in Builder.php (line 462)
at Builder->getModels(array('id', 'name', 'data'))in Builder.php (line 446)
at Builder->get(array('id', 'name', 'data'))in BuildsQueries.php (line 75)
at Builder->first(array('id', 'name', 'data'))in FireflyConfig.php (line 57)
at FireflyConfig->get('is_demo_site', false)in Facade.php (line 221)
at Facade::__callStatic('get', array('is_demo_site', false))in Controller.php (line 60)
at Controller->__construct()in HomeController.php (line 44)
at HomeController->__construct()
at ReflectionClass->newInstanceArgs(array())in Container.php (line 762)
at Container->build('FireflyIII\\Http\\Controllers\\HomeController')in Container.php (line 608)
at Container->resolve('FireflyIII\\Http\\Controllers\\HomeController')in Container.php (line 575)
at Container->make('FireflyIII\\Http\\Controllers\\HomeController')in Application.php (line 728)
at Application->make('FireflyIII\\Http\\Controllers\\HomeController')in Route.php (line 217)
at Route->getController()in Route.php (line 747)
at Route->controllerMiddleware()in Route.php (line 708)
at Route->gatherMiddleware()in Router.php (line 585)
at Router->gatherRouteMiddleware(object(Route))in Router.php (line 565)
at Router->runRouteWithinStack(object(Route), object(Request))in Router.php (line 533)
at Router->dispatchToRoute(object(Request))in Router.php (line 511)
at Router->dispatch(object(Request))in Kernel.php (line 176)
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))in Pipeline.php (line 30)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in CheckForMaintenanceMode.php (line 46)
at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php (line 102)
at Pipeline->then(object(Closure))in Kernel.php (line 151)
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php (line 116)
at Kernel->handle(object(Request))in index.php (line 57)
        </div>`

@AndreiGavriliu
Copy link

Try a sudo apt-get install php-mysql

@JC5
Copy link
Member

JC5 commented Sep 20, 2017

You can't have gotten this far without php-mysql. The database migrations would have failed.

@AndreiGavriliu
Copy link

True...

@TheGammelgalopper
Copy link
Author

Yeah that's the thing...
I tried the database migration, got errors, installed php mysql did the migration again and now this
Also changed sql user to root...

@TheGammelgalopper
Copy link
Author

TheGammelgalopper commented Sep 20, 2017

wut a magical reboot fixed it.... :D

I will still keep the 16.04 installation. So if @JC5 wants to have a look at that problem he can. But the priority to this just changed to very low as the 17.04 installation works fine.

Thank you all for helping me with this! It is truly awesome software!

@JC5
Copy link
Member

JC5 commented Sep 21, 2017

Glad to hear everything works again. Let me know if you run into issues! @gavu, thanks for helping him out! 👍

@JC5 JC5 closed this as completed Sep 21, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants