Comments (10)
Same for me. I also tried copying the htdocs content while it was running into a mount and then making that mount the main mount, but now I just get persistent 500 errors (even with 100 user and 101 group permissions set for the folder).
If I try to hit the dashboard it can't find the URL it seems:
[Mon Jan 08 10:16:18.258392 2024] [core:info] [pid 36] [client 172.17.0.1:47206] AH00128: File does not exist: /htdocs/dashboard
[Mon Jan 08 10:16:18.258317 2024] [httpd.conf] 172.17.0.1 - - "GET /dashboard HTTP/1.1" 404 279 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" 3240 494
[Mon Jan 08 10:16:20.276640 2024] [core:info] [pid 48] [client 172.17.0.1:47254] AH00128: File does not exist: /htdocs/dashboard
[Mon Jan 08 10:16:20.276503 2024] [httpd.conf] 172.17.0.1 - - "GET /dashboard HTTP/1.1" 404 279 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" 3188 494
from linkstack-docker.
I hit the same issue. Still not solved it either. You can use persistent volumes, you just need to use a docker volume rather than a filesystem one. This is sufficing for now, but doesn't match what I usually do.
services:
linkstack:
image: linkstackorg/linkstack:latest
volumes:
- mylinkstackvolume:/htdocs
<restofconfig>
volumes:
mylinkstackvolume:
And that works just fine
from linkstack-docker.
Thanks for the info, I'll test that as a development environment.
Unfortunately, I can't use it productively as my entire Docker setup is based on docker-compose.yml's that are located on Github and the data that is stored on a NAS that is backed up - I can start the restore on any system using a bash script.
If I now use Docker Volumes, I also have to back up the system itself or somehow rsync the local folder to the NAS or similar. - Unfortunately, that doesn't work.
Let's see if the error will be fixed in time.
from linkstack-docker.
Same for me. I also tried copying the htdocs content while it was running into a mount and then making that mount the main mount, but now I just get persistent 500 errors (even with 100 user and 101 group permissions set for the folder).
If I try to hit the dashboard it can't find the URL it seems:
[Mon Jan 08 10:16:18.258392 2024] [core:info] [pid 36] [client 172.17.0.1:47206] AH00128: File does not exist: /htdocs/dashboard [Mon Jan 08 10:16:18.258317 2024] [httpd.conf] 172.17.0.1 - - "GET /dashboard HTTP/1.1" 404 279 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" 3240 494 [Mon Jan 08 10:16:20.276640 2024] [core:info] [pid 48] [client 172.17.0.1:47254] AH00128: File does not exist: /htdocs/dashboard [Mon Jan 08 10:16:20.276503 2024] [httpd.conf] 172.17.0.1 - - "GET /dashboard HTTP/1.1" 404 279 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" 3188 494
can you show us the permissions inside of the Container ?
i use my own folder fΓΌr linkstack and i don't have problems
from linkstack-docker.
Do your files have the correct permission, they should have the apache group and Name with the UID 100 and GID 101. Another error could be that the dotfiles are missing. This happend to me, becuase mv seems not to move dotfiles, if not mentioning them explicity.
from linkstack-docker.
Hello, has anyone found a solution for that issue?
I prefer to have my files in a persistent filesystem storage instead of a docker volume.
Simpler to backup and manage
Thank you all for your amazing work!
(tried changing owners of the folder, even tried chmodding it to 777 as a test, and it did not work)
from linkstack-docker.
As all things in life, I found the answer 2 minutes after my question!
Note that I am using SWAG (NGINX) as my web facing proxy... so some parts for your perticular setup might need modifications...
Turns-out calling the local path directly in the service definition is not working, but binding the volume to the filesystem works fine... This works for me!
version: "3.8"
services:
linkstack:
hostname: linkstack
image: linkstackorg/linkstack:latest
container_name: linkstack
restart: unless-stopped
environment:
TZ: "America/Toronto"
SERVER_ADMIN: "[email protected]"
#LOG_LEVEL: 'info'
PHP_MEMORY_LIMIT: "256M"
UPLOAD_MAX_FILESIZE: "8M"
ports:
- "8099:80"
- "8443:443"
volumes:
- "linkstack_persistent:/htdocs"
networks:
- swag-network
networks:
swag-network:
external: true
volumes:
linkstack_persistent:
driver: local
driver_opts:
o: bind
type: none
device: /your/path/linkstack
from linkstack-docker.
@Normand-Nadon like I've written above you need to populate the latest release manually if you use a bind mount instead of a docker volume. The current docs don't mention it currently but I submitted a PR a month ago to add that
https://github.com/LinkStackOrg/docs/pull/9/files#diff-bbecedccd398b5bb74ad0dff5a5174b41988214dbff19d55713f8bd97bf926e6R84
from linkstack-docker.
It's on the Docs-Website now btw.:
https://docs.linkstack.org/docker/setup/#docker-bind-mounts
from linkstack-docker.
@Normand-Nadon like I've written above you need to populate the latest release manually if you use a bind mount instead of a docker volume. The current docs don't mention it currently but I submitted a PR a month ago to add that https://github.com/LinkStackOrg/docs/pull/9/files#diff-bbecedccd398b5bb74ad0dff5a5174b41988214dbff19d55713f8bd97bf926e6R84
Oh, the way I did it, I did not need to populate the folders.... I have no idea why though!
from linkstack-docker.
Related Issues (20)
- `Spatie\Backup\Events\BackupHasFailed` HOT 2
- LinkStack has problems with links as soon as 'custom locations' are specified in the NGINX reverse proxy HOT 15
- Resend Verification email loop HOT 7
- Number of Links in Userlist HOT 1
- Multiple Pages Per User [Feature Request] HOT 1
- SSL Certificates HOT 2
- Permission denied on httpd.conf on Startup HOT 5
- [Sun Jan 07 13:43:21.961240 2024] [httpd.conf] ::1 - - "GET / HTTP/1.0" 400 450 "-" "-" HOT 1
- cant deploy HOT 11
- Update image HOT 1
- Fonts returning 404 when trying to add a link
- Can't bind the /htdocs folder to outside of container HOT 1
- i want to add a web sdk to my linkstack page, how should i do it, which file should i add HOT 4
- ErrorException when clicking on email: Attempt to read property "link" on null HOT 2
- Setup Linkstack to different port (no 80 or 443) HOT 1
- Error while Update HOT 1
- Unable to Edit Links HOT 5
- Cannot get WebSockets to work behind Nginx HOT 14
- Unable to add links HOT 1
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 linkstack-docker.