Giter VIP home page Giter VIP logo

Comments (4)

Kovah avatar Kovah commented on June 2, 2024 1

Are you sure that MariaDB is available via the IP address 192.168.178.2?
You can enable the debug mode to get more details about a possible issue. Change or add APP_DEBUG=true to the .env file and restart the container.

from linkace.

julianmueller avatar julianmueller commented on June 2, 2024

When I CLI into the running container, I can ping 192.168.178:3306 as weell as mariadb, because its in the same docker-network. I have also several other containers accessing this mariadb with their own databases.

When I enable debugging I get this on the webpage:

The stream or file "/app/storage/logs/laravel-2023-06-23.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/app/storage/logs/laravel-2023-06-23.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/app/storage/logs/laravel-2023-06-23.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/app/storage/logs/laravel-2023-06-23.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/app/storage/logs/laravel-2023-06-23.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/app/storage/logs/laravel-2023-06-23.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/app/storage/logs/laravel-2023-06-23.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/app/storage/logs/laravel-2023-06-23.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/app/storage/logs/laravel-2023-06-23.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/app/storage/logs/laravel-2023-06-23.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'linkace.settings' doesn't exist (SQL: select * from `settings` where `user_id` is null)
Context: {"exception":{}}
Context: {"exception":{}}
Context: {"exception":{}}
Context: {"exception":{}}
Context: {"exception":{}}
Context: {"exception":{}}
Context: {"exception":{}}
Context: {"exception":{}}
Context: {"exception":{}}

Which seems to me, that there are permission issues with the /logs/ folder. Therefore I tried to chmod +x .../logs/ it on the main system. Is this correct? Furthermore, I see, that it cannot access the database? Do I need to set some environment-variables for the docker? Or is the mounted .env sufficient?

from linkace.

julianmueller avatar julianmueller commented on June 2, 2024

Okay, I fixed it by giving the permissions to the logs folder. I did this via the unraid file managers gui. Do you know if these changes persist after a reboot? If not, how can I permanently give the permission to docker?

from linkace.

Kovah avatar Kovah commented on June 2, 2024

Great to hear that this fixed it. Folder permissions are always such crap to deal with.

from linkace.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.