-
Notifications
You must be signed in to change notification settings - Fork 56
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
Can't login after install and configuration (error 500) #54
Comments
Hi, could you please run the following command and paste the results here ? It will likely help us understand the error. $ docker exec koel cat storage/logs/laravel.log |
I found out that I made this mistake too, but it was weird.I have no problem logging in on my computer and mobile phone. This error occurs when I log in from a friend or other computer.This is the log that appeared after I cleared it and tried to log in. `[2021-03-16 02:45:31] production.ERROR: flock(): Argument #1 ($stream) must be of type resource, bool given {"exception":"[object] (TypeError(code: 0): flock(): Argument #1 ($stream) must be of type resource, bool given at /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/LockableFile.php:147) |
Hi, thanks for posting the logs. There appears to be a bug somewhere in koel. As I'm not maintainer of koel, I cannot help you further 😕. I just build the docker image. I've looked quickly and it looks like there is no existing issue with |
我发现,这个问题可能是由于docker重启导致容器ip改变,并且MySQL中设置仅限于容器IP访问例如'koel'@'172.17.0.4'。重启之后可能会改变,我们只需要固定容器IP或者MySQL开放docker 的ip段访问,例如: |
Hi,
I'm unable to login into koel, i ran
php artisan koel:init
into my container, and as mentioned, it fails at the frontend assets.There seem to be no problem with the database mysql 5.7 running in the same network as koel, it is filled with the good entered Name and email in "users" table, and the others tables are also created (checked with phpmyadmin).
There is the error 500 in Firefox.
![500](https://user-images.githubusercontent.com/13450985/106005030-181f0d00-60b4-11eb-8063-45be5fb2aa4c.png)
My configuration :
docker run -d --name koel -p 9004:80 -v /320GB/.koel/.koel.env:/var/www/html/.env --hostname koel --ip 172.18.1.4 --network=koel-net -v /320GB/Music:/music -v /320GB/.koel/covers:/var/www/html/public/img/covers hyzual/koel
In the environment file, there is only the database details (host,port,username,pw).
Thank you.
The text was updated successfully, but these errors were encountered: