-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Installation issue #119
Comments
I remember having trouble with the storage folder and to setup Permission I used those command : HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX storage
sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX storage |
I know, it's annoying. I haven't set it up correctly myself, I must admit. If chmod -R 777 has no effect then something else is going on. Make sure that the user that's running Apache (usually www-data, I think) is also the owner of www. |
Dear all ;) @PeterFour i've tried your commands, it did not work. my settings: Apache2 => /etc/apache2/conf-enabled/firefly-iii.conf ' i've tried with and without the mpm_itk_module, both no result... |
I've got the exact problem too. This is the error in my log: |
Could you post the rest of the sentence? After the $, there should be more text. |
It's just that the line should NOT end with a $. There should be more. Do a Open |
I've done some thing else. [2015-11-26 17:24:42] production.ERROR: exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'owner' for key 'roles_name_unique'' in /media/usb/wwwroot/vendor/laravel/framework/src/Illuminate/Database/Connection.php:381 Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'owner' for key 'roles_name_unique' (SQL: insert into not sure if this helps... my .env: DB_CONNECTION=mysql CACHE_DRIVER=file EMAIL_SMTP=smtp.gmail.com SENDGRID_USERNAME= ** |
I think a database wipe is needed before, but I'm no Laravel expert so I don't know when the first Insert is being made |
Yes. I suspect that a new migration ran while old data was still there. Is it working at the moment? |
I think I have "fixed" this issue. after running the following commands (from within the firefly-iii root): firefly worked as a charm. |
I'll put it in the installation guide! |
i try to chmod 775 not working but for this |
I've clean installed Firefly-iii on 2 different machines.
1 virtual
1 dedicated
both with the same setup:
Debian (latest version 8.2)
Apache2 (latest version)
MySQL (latest version)
PHP5 (latest version) (including dependant modules)
Composer (latest version)
phpmyadmin (latest version -> runs correctly)
I followed the Installation manual.
All went well until i Try to open FireFly-iii via web on another machine.
I get a 404 as result.
In the apache log files I can pin-point the problem. Lavarel cannot create / open the log file inside the "storage" folder. => Strange due to the fact I followed the 'chmod'-command like provided in the installation manual.
I figured, lets try some else -> 'chmod 777 -R /var/www/firefly-iii/storage' this has no effect.
then 'chmod 777 -R /var/www/firefly-iii' this also has no effect
lastly i tried 'chmod 777 -R /var/www' no effect either.
I'm running low on ideas how to set correct settings chmod & apache2 conf to get the system working... Can you give me some directions where to look / try some other things?
The text was updated successfully, but these errors were encountered: