-
Notifications
You must be signed in to change notification settings - Fork 23
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. |
I am experiencing the same issue. |
I can confirm that the web based install is not finishing properly. This is what I have at the moment:
Using docker-compose up is starting the installation properly:
To get access to the headless server I use: I now can start the installation by calling The url in the web browser shows The first issue seems to be the .htaccess file. I'll have a look on that later. Clicking the Next button I come to page Clicking the Next button I come to page I add the parameters as given in the docker-compose.yml: Datenbank-Server: db Clicking the Next button I come to page I add the email address as given in the docker-compose.yml: [email protected] Clicking the Next button gives me a blank page with the url The page source shows good (including all scripts etc) but the body part is empty:
|
Looking into the container, there is no config.php. Only
I would have expected to have a config.php with the values entered during install (at least the database values). |
Adding the FRIENDICA_URL env variable to the docker-compose.yml finished the autoinstall on startup and I could afterwards directly access the login page but there seems to be no login user created (so I assume @m33m33 is correct on adding this in PR #278. But this is not fixing the web based install. |
There is something phishy when the installer proceed from step 4 SITE_SETTINGS to 5 FINISHED according to the access.log, step 4 is the last I can see here. |
Yes. It seems as if there is a lot of refactoring ongoing and I'm currently testing with the last stable version (as I hope to get this fixed and maybe get an updated version created before the next official release which will include a lot of changes). Based on what I see I believe, that this call is failing and the function returns with no redirect set. But I'm not a php developer. |
I am at the same point. When checking the database it's still empty, and I have narrowed down something wrong during the php configuration file. |
Actually, it's not only the last page that gives you a blank page. Every page of the install wizard gives you a blank page if something goes wrong. I managed to comment tests cases to go a little further after pass=4, it seems the configuration is not passed correctly from the database connector setup page to the rest of the install process.
|
Another try to confirm that the configuration entered on the WebUI is not passed through, in this screenshot I have removed the hidden attribute from previous configuration items in the view template, all empty fields were rigorously entered and checked on previous pass (database setting). ![]() |
I will switch to the current development branch for further testing. There is a lot of work ongoing and it seems as if the next release is in the pipeline and expected end of february. |
Its seems reasonable, ping me if you need some testing on Linux ARM64 + Docker. |
My current findig is that I still can install with the autoinstall whereas the web wizard doesn't even show up with its first page. @MrPetovan, are there any issues with the web install wizard kown in the current develop branch? |
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: