-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Server from dockerfile do not work #427
Comments
Few comments more. Test 1I tried using an ubuntu 20.04, with PHP 7.4 and Mysql 8.0.22 (and Mysqli for PHP). When I navigate to http://localhost/, I just see the directory. I tried "Install" Tab, but no way to get the database connection working. On host side, I see mysql is running. Also tried to login as root with the password, it works. Apache2 logs shows nothing relevant:
Test 2Using docker compose.
But when I try to reach localhost, I have this: And on the log sides, in the shell: So I did an I used 127.0.0.1:33060, and root for password. Nothing more. Any idea ? |
@oxedions path to be set in DocumentRoot is |
|
Also permission denied is because container uses user |
Dear @duhow Thanks a lot for this reply. I am using XGP v3.1.0 release (I took the zip provided). Regarding test 1, bare metal test on ubuntu 20.04, when I copy the whole Regarding test 2, using docker compose, I still do not understand why I just cannot connect to database 🙁 No way to connect to it using the web installer. By default, with the composer, it should be localhost:33060, am I right ? I have no firewall running. My apache2 container is reachable at localhost:80 and this part works. |
For docker-compose database access, you have to specify the Database container, not the apache host (localhost).
|
Thanks a lot ! 😊 Much better, it works with these stetting. Then 2 small questions more:
|
Afaik there's no documentation on Docker setup, sorry. Regarding universes, XGProyect at the moment uses a single universe. The UI shows a selector of multiple universes, but only will use one - the same installation. |
Thank you for this answer 🙂 If I succeed using all of this, I think it worth I propose a small PR if you accept it to document the process. Regarding second question, how to generate the single universe ? I see none in the users login/register UI : So I created a user, in the admin UI, but this user just cannot login as it is impossible to select any universe. I tried by using this empty named universe, but no login occur, I just go back to this same login page. |
@oxedions 3.2 fixes that problem. But we haven't built the multi-universe feature yet :) So for the moment it's always going to default to Universe 1. XGP 3.2 will be released on November 28th |
Dear @LucasKovacs Well, I do not really need multi universe, I can spawn instances to compensate that 😊 Until 3.2 is out, if I use master branch to start the server, will I benefit from the fix that allows a single universe ? Or do I need to use a specific dev branch (development branch) ? |
Hello @oxedions , I recommend using development branch instead of master branch. But, you can use development branch. But remember, it is not the published version. |
You can, of course, work directly with master and wait for stable releases. |
I will test 3.2 then. Thanks a lot to everyone for the help 🙂 |
Hi,
First thanks a lot for this project 🙂
I am trying to start my own server, but I fail. Not sure if this is a bug, or if I just don't do it the right way.
I tried to follow the main README, that says to just reach main page.
Describe the bug
I used the provided Dockerfile to spawn a server. But, when trying to use it, it seems to fail.
Container building is ok, container launch is ok, apache2 is running inside, and server is answering requests. However, if I browse
http://localhost/src/upload/public/
, which I assume to be the correct place to test, I have this:So I tried other path (public/install, admin, etc), I always see this error. Is there anything to initialize first, or is this really a bug ?
To Reproduce
Ensure firewall allows 80/tcp if not using localhost browser.
Then try
http://localhost/src/upload/public/
url.Expected behavior
I should see, for what I understand from the README, something to follow a setup procedure.
Screenshots
![image](https://user-images.githubusercontent.com/15154435/99195118-123bb000-2784-11eb-90cd-5076b41107f4.png)
Desktop (please complete the following information):
Server (please complete the following information):
The text was updated successfully, but these errors were encountered: