LycheeOrg / Lychee-Docker

Docker image for Lychee
https://lycheeorg.github.io/
167 stars 55 forks source link

Complete install v4 without using browser? #108

Closed hess8 closed 3 years ago

hess8 commented 3 years ago

Is there a way to do a complete install of v4 without a browser?

Yesterday I set up a v3 Lychee serve that worked well. Today, I deleted it and started over with a v4 server with docker-compose. It runs, but when I first log in from a remote browser, it goes to an installer. All is OK until the final step of http:/xxx/install/env, and it says it can't find the lychee database, even though I can see it is listening. I'm wondering if this is because I can't run a browser on my server; It's a headless server with no gui. So I have to connect in a browser that is remote from the server.

d7415 commented 3 years ago

That should still work with a remote browser, but I'll admit I haven't tested the installer much from the Docker container. If you want to bypass the installer, you should be able to configure everything with environment variables or a .env file (see the later sections of the readme). If the installer can't see the database, it's possible Lychee itself won't either though.

hess8 commented 3 years ago

What is the web installer trying to accomplish? My v3 didn't require the web installer and it worked.

On Thu, Oct 28, 2021 at 3:20 PM Martin Stone @.***> wrote:

That should still work with a remote browser, but I'll admit I haven't tested the installer much from the Docker container. If you want to bypass the installer, you should be able to configure everything with environment variables or a .env file (see the later sections of the readme). If the installer can't see the database, it's possible Lychee itself won't either though.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/LycheeOrg/Lychee-Docker/issues/108#issuecomment-954226141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVW7WHXU6F7RYANANBAJU3UJHECXANCNFSM5G52NVBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

d7415 commented 3 years ago

It's primarily so that those on shared hosting without shell access can set up Lychee, but also helps some less technical users set it up without having to use the .env file.