Skip to content
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

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

Open
Chiller2019 opened this issue Jun 9, 2023 · 16 comments
Open

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

Chiller2019 opened this issue Jun 9, 2023 · 16 comments
Assignees

Comments

@Chiller2019
Copy link

Chiller2019 commented Jun 9, 2023

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
@LucasKovacs
Copy link
Member

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

@agentcobra
Copy link
Contributor

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

@LucasKovacs
Copy link
Member

Closed since the author did not reply

@LucasKovacs LucasKovacs self-assigned this Jun 18, 2023
@Chiller2019
Copy link
Author

Chiller2019 commented Jun 18, 2023

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

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

@Chiller2019
Copy link
Author

Closed since the author did not reply

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

@LucasKovacs
Copy link
Member

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

@agentcobra
Copy link
Contributor

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

@Chiller2019
Copy link
Author

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
Copy link
Author

Chiller2019 commented Jun 18, 2023

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

@LucasKovacs LucasKovacs reopened this Jun 19, 2023
@LucasKovacs
Copy link
Member

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
Copy link
Member

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 ?

@Chiller2019
Copy link
Author

Chiller2019 commented Jun 19, 2023

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
Copy link
Author

Chiller2019 commented Jul 1, 2023

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.

@LucasKovacs
Copy link
Member

Have you tried making those path readable? With chmod 777

@OceanicNomad
Copy link

#571 Refer to this, should help you out

@Chiller2019
Copy link
Author

Chiller2019 commented Sep 9, 2023

#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants