-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker Compose Install Not able to complete Install Wizard #266
Comments
Thank you for the detailed description. It might be related / similar to friendica/friendica#14450. |
Looked at that post and thought I would try some of the troubleshooting there.
So maybe the issue is more related to the db rather than friendica itself? |
Further digging... Also inside the friendica-app-1 container, tried the "manual" setup mentioned in the above thread:
Here is the local.config.php file as I have edited it:
Clearly there is an error with creating the admin user above. Restarting the container and trying to access the site now shows this: And the log/console output looks like:
|
I'm also having this issue on a Debian server, using the same compose file (only the port changed, since port 8080 is already in use). Hope it gets solved soon, my community is looking forward to trying Friendica out. Read in the other thread that 2024.09-rc has resolved this, but installing |
I'm sorry but I will not have time to look into this for the next two weeks at least. |
|
2024.09 RC and dev Docker images do not contain Friendica code at all #268 |
As intended. |
We also have a related discussion on Matrix. And we have a seond user with installation problem (#268). I'm not doing fresh installs all the time. ;) So I can only say that updates/upgrades are working and this for the fpm image with an nginx in front. To narrow it down 1.) if the white page appears, please
2.) Both users use a minimum of environment initialization. I'm not sure if that is working at all. I believe that at least a working smtp setup is required. How about setting the other environment options also and see if this works? 3.) If possible, please try to do a setup with the fpm image with a nginx in front. So we can see if it is image related. I will also try to add a way to run github actions and tests locally. So I can improve testing of built images in future without the need to do all the combinations of fresh install and updates manually. |
Sorry for the wrong diagnostic. More details on my issue |
There's nothing in the Readme or in that landing page that suggests you need an SMTP setup, so that would be a strange thing and would itself probably warrant patching, at least for clarification when someone is trying to install this software. Here's the source of the blank page.
|
Not sure if it is related, but in the current stable version we have got a bug that prevents installation. It is fixed in the RC. |
Yes. I believe the users try to install with the rc version, so it might be another problem. |
With a first test I can confirm that a install as described by the documentation for the docker image with the following docker-compose.yml fails:
The The fix from #14530 is in the downloaded sources. So it must be something else. I will try to dig deeper. |
Thanks for investigating.
I'm happy to help test in any way.
…On Wednesday, December 4th, 2024 at 8:54 AM, ne20002 ***@***.***> wrote:
With a first test I can confirm that a install as described by the documentation for the docker image with the following docker-compose.yml fails:
version: '2'
services:
db:
image: mariadb
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_USER=friendica
- MYSQL_PASSWORD=friendica
- MYSQL_DATABASE=friendica
- MYSQL_RANDOM_ROOT_PASSWORD=yes
app:
image: friendica:2024.09-rc
restart: always
volumes:
- friendica:/var/www/html
ports:
- "9080:80"
- "9443:443"
environment:
- MYSQL_HOST=db
- MYSQL_USER=friendica
- MYSQL_PASSWORD=friendica
- MYSQL_DATABASE=friendica
- ***@***.***
- FRIENDICA_UPGRADE=true
depends_on:
- db
volumes:
db:
friendica:
The FRIENDICA_UPGRADE=true is required if a rc version is used. The call to /install returns with a http code 500.
The fix from [#14530](friendica/friendica#14530) is in the downloaded sources. So it must be something else. I will try to dig deeper.
—
Reply to this email directly, [view it on GitHub](#266 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AF5OUMJKCHBNJJUE5EH6A4L2D4CSBAVCNFSM6AAAAABP76UA7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJXGQ3TGOBWGE).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@tokenwizard Thank you Looking into the friendica container it seems as with the rc version there are a few things not really working well. E.g. in the Dockerfile it copies config files into /usr/src/friendica/config but it seems that thoses files are missing after the download and extraction of the sources. In the dev entry script the /usr/src/friendica is removed before newly created. Not sure if this is related. |
Trying to setup a fresh instance using the recommended docker-compose.yml method.
Here is my
docker-compose.yml
Here is the console after the first time trying to complete install. Everything seems to start up fine for the db and app.
I can access the install wizard at
http://l<LAN_IP>:8080
and everything is green except TLS:So far, so good. But when I click Next, it just goes to a blank white page and stops loading. What you see in the console output above includes what updated when I clicked next. Those last few lines just repeat themselves every 30 seconds or so but the page just stays white with no additional install wizard steps.
I'm using Zen/Firefox browser and installing into Arch linux in a Proxmox LXC (same way I am running several other LXCs for Docker Services)
Docker Compose version 2.29.7
The text was updated successfully, but these errors were encountered: