Having trouble running LinkAce with Caddy #659
-
Hi! I just found out about LinkAce not too long ago and decided to try installing it on my Caddy server. Just one small problem: I can't figure out how to get it working with either the Docker or non-Docker install methods. Whenever I tried to use Docker, it just gave me an error that the port was already in use (by Caddy -- I have a seperate web server I want to use alongside LinkAce because I have a static site on the same VPS), and as a result the nginx container failed to start. So I tried installing it manually via PHP and my Caddyfile, but I've futzed around with it for over an hour at this point and I can't get any further than a blank page when I try to visit the subdomain that's supposed to point to LinkAce. Can anyone help me get LinkAce working with Caddy? I'd really appreciate it! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
I have not tested LinkAce together with Caddy in any setup without Docker, but with Docker there should be no problems running it. If you are using Caddy in front of LinkAce, change the port of the LinkAce container to any other port than 80 or 443: app:
image: linkace/linkace:simple
restart: unless-stopped
depends_on:
- db
ports:
- "127.0.0.1:8080:80" and then point Caddy to that new port, |
Beta Was this translation helpful? Give feedback.
Oh. I completely forgot that I was using the advanced setup 😅 Thought I would use the advanced setup since I have a cloud VPS, but apparently I don't quite understand how things work with that image so I changed to the simple one and now it launches fine and I can access it through my site -- however when I try to complete setup (yes I did change my db and redis passwords in .env beforehand), I get this error:
Database could not be configured. Please check your connection details. Details: SQLSTATE[HY000] [1045] Access denied for user 'linkace'@'[internal ip]' (using password: YES) (SQL: SHOW FULL TABLES WHERE table_type = 'BASE TABLE')
Any ideas?