Comments (4)
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.
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.
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.
Great to hear that this fixed it. Folder permissions are always such crap to deal with.
from linkace.
Related Issues (20)
- No lists and tags properties in API response HOT 2
- Can't import bookmark's file generated from Google Chrome 111 to LinkAce 1.11.4 HOT 3
- CSS Button Spacing - Layout Issue Detected HOT 2
- module check during setup fails with PDO missing if only pdo-sqlite is installed HOT 3
- I can't backup HOT 3
- Local setup using no env file HOT 9
- Tags and lists are public by default despite private default setting HOT 2
- POST /links inconsistent "description" field type and uneffective "check_disabled"
- [BUG] Sorting links by random give error of SQLSTATE HOT 1
- Add LinkAce guest URL as option for sharing HOT 1
- Requirements check crashes when storage/framework/views is not writable
- CLI import does not support file paths HOT 2
- All pages have title "LinkAce" HOT 2
- IPv6 encoding incorrect HOT 3
- Dependency Dashboard
- Can't save Wayback Machine links via bookmarklet HOT 2
- Broken Update Process, Export Failure HOT 6
- Encoding missing for parts of sharing links HOT 1
- HTTP 500 on setup + no logs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkace.