XG-Proyect-v3.x.x icon indicating copy to clipboard operation
XG-Proyect-v3.x.x copied to clipboard

Installation (manual) can't access to step 4 (Migration)

Open Chiller2019 opened this issue 1 year ago • 16 comments

Describe the bug When I start the installation, give the correct MySQL-Credentials it stucks on step 4, migration to database

To Reproduce Upload to a WebServer with Apache, follow installation.

Screenshots image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version: 114.0

Server (please complete the following information):

  • PHP Version: 8.1
  • MySQL Version: MariaDB 10.6

Chiller2019 avatar Jun 09 '23 03:06 Chiller2019

Which xgp version? Did you download the package? Or use composer?

LucasKovacs avatar Jun 17 '23 08:06 LucasKovacs

Hi, I've try to do an installation guide #543

agentcobra avatar Jun 17 '23 09:06 agentcobra

Closed since the author did not reply

LucasKovacs avatar Jun 18 '23 14:06 LucasKovacs

Which xgp version? Did you download the package? Or use composer?

Version: newst, 3.4, download the package without any composer ect.

Chiller2019 avatar Jun 18 '23 14:06 Chiller2019

Closed since the author did not reply

WTF, was just one day after a new Message to the Problem?!

Chiller2019 avatar Jun 18 '23 14:06 Chiller2019

Please follow the installation steps. Share also error logs. It is too hard to help you without more information.

LucasKovacs avatar Jun 18 '23 19:06 LucasKovacs

Hi, Readme was updated d1d9dc7ed498c4417f41b955871d4b67e0bb39d7 maybe it can help you?

Can you give us apache's log or httpd's log? I think you have the composer error, you need to do composer install, it's necessary to load includes files

agentcobra avatar Jun 18 '23 20:06 agentcobra

Hi, Readme was updated d1d9dc7 maybe it can help you?

Can you give us apache's log or httpd's log? I think you have the composer error, you need to do composer install, it's necessary to load includes files

Thx, will check comming week! I post the result here.

Chiller2019 avatar Jun 18 '23 20:06 Chiller2019

Ok, same error. When I clock on "continue", the URL wont change, see picture.

Release -> Assets Upload the "upload"-directory, give right permissions (Linux) and klick on "Install", give the SQL-Information (yeahr, the creds are correct) and klick von "Continue" (The SQL-Creds are wrote in the config-file, I checked) but after this button, is the same link with an Error 500. And the DB is empty, no tables created.

image

Chiller2019 avatar Jun 18 '23 21:06 Chiller2019

Hi, Readme was updated d1d9dc7 maybe it can help you?

Can you give us apache's log or httpd's log? I think you have the composer error, you need to do composer install, it's necessary to load includes files

It can' t be the composer error, because the 3.4 package comes with the composer install done, so you don't have to do it, and it is possible to directly install the game.

LucasKovacs avatar Jun 19 '23 18:06 LucasKovacs

Ok, same error. When I clock on "continue", the URL wont change, see picture.

Release -> Assets Upload the "upload"-directory, give right permissions (Linux) and klick on "Install", give the SQL-Information (yeahr, the creds are correct) and klick von "Continue" (The SQL-Creds are wrote in the config-file, I checked) but after this button, is the same link with an Error 500. And the DB is empty, no tables created.

image

can you check if there's any error on storage/logs ?

LucasKovacs avatar Jun 19 '23 18:06 LucasKovacs

Hi, Readme was updated d1d9dc7 maybe it can help you? Can you give us apache's log or httpd's log? I think you have the composer error, you need to do composer install, it's necessary to load includes files

It can' t be the composer error, because the 3.4 package comes with the composer install done, so you don't have to do it, and it is possible to directly install the game.

correct, thats the reason why I used this asset.

can you check if there's any error on storage/logs ?

Sure, I will check soon, give information than.

Chiller2019 avatar Jun 19 '23 18:06 Chiller2019

So, there is an error according to the PHP error, there is a restriction of open_basedir. I tried to fix the error, but when programming the game, the path was probably programmed incorrectly for the errors.

But an error.txt should be created for the installation, unfortunately this falls flat due to the restriction.

Chiller2019 avatar Jul 01 '23 22:07 Chiller2019

Have you tried making those path readable? With chmod 777

LucasKovacs avatar Jul 08 '23 08:07 LucasKovacs

#571 Refer to this, should help you out

OceanicNomad avatar Aug 16 '23 19:08 OceanicNomad

#571 Refer to this, should help you out

No because Its a lInux Server with apache2

Have you tried making those path readable? With chmod 777

Tried, no effect

Error is:

Error 500 -> POST /install/index.php?page=installation&mode=step3 HTTP/1.1

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Typed property App\\Core\\Database::$connection must not be accessed before initialization in /***/app/Core/Database.php:138

Chiller2019 avatar Sep 09 '23 18:09 Chiller2019