Page 1 of 1

CLOSED: GamePanel App for Amahi

Posted: Wed May 29, 2019 11:44 am
by rdagijones
Hello,
My son wants to run a game server management program called Pterodactyl Panel, found here

I did notice the requirement of PHP v7.2, while Amahi 11 has only 7.1.
Is it possible to install this program, or will it break the server if the requirements are installed?

Thanks

Re: GamePanel App for Amahi

Posted: Wed May 29, 2019 4:37 pm
by bigfoot65
Should be fine.

Understand that it could break the server. You may not be able to fix it either.

Might consider a backup before moving forward.

Re: GamePanel App for Amahi

Posted: Sat Jun 01, 2019 12:26 pm
by rdagijones
So is anyone running PHP 7.2 either alongside 7.1 or instead of 7.1 on their Amahi server? Which would you recommend running 7.2 alongside of four instead of 7.1?

Re: GamePanel App for Amahi

Posted: Sat Jun 01, 2019 1:48 pm
by bigfoot65
I would run 7.2 instead of 7.1 if there was a choice.

Likely there’s little difference between the two versions.

Re: GamePanel App for Amahi

Posted: Wed Jun 05, 2019 9:08 am
by rdagijones
I now have another problem

I instead decided to run OpenGamePanel, which I had done before, to play it safe. I first installed the Agent, or the back-end which actually runs the game servers. I then clicked on the "Create new web app" button at the bottom of the web-apps tab on the Amahi Dashboard, and it just sits there loading. After a while, I refreshed the page, and the web app appeared. But none of the databases, folders, or settings were there.

I then manually created the folder, ran the "hda-create-db-and-user" command, placed the OpenGamePanel web install files in the folder "/var/hda/web-apps/OGP/html/" and restart the httpd daemon.

The systemd command then threw back an error: "DocumentRoot [ /etc/httpd/OGP/html/ ] does not exist" and the http daemon now wont start.

What do I do?

Re: GamePanel App for Amahi

Posted: Wed Jun 05, 2019 10:38 am
by bigfoot65
The only thing the Create New Web App button does is create the directory structure and the config file in /etc/httpd/conf.d directory. It does not create the database.

What might be missing is the file that should have been created in /etc/httpd/conf.d or the permissions are incorrect on the web app directory. All files in that directory should be owned by apache:users.

So in order to get things back, recommend you delete the web app from the dashboard. Ensure the directory in /var/hda/web-apps is removed. Then check in /etc/httpd/conf.d directory for a file that begins with a number and has the app name included. Remove that and then restart httpd.

Re: GamePanel App for Amahi

Posted: Thu Jun 06, 2019 10:35 am
by rdagijones
The problem is the button doesn't even create the directory. And httpd still has the strange error saying its looking for the OGP directory under /etc/httpd/, not /var/hda/web-apps/.

Re: GamePanel App for Amahi

Posted: Thu Jun 06, 2019 2:26 pm
by bigfoot65
Did you check the directory for the .conf file I mentioned?

What about the permissions for the directory you created?

Re: GamePanel App for Amahi

Posted: Fri Jun 07, 2019 6:31 am
by rdagijones
Im sorry. I forgot to mention that the button did actually create the file in /etc/httpd/conf.d/, and it was only when I deleted that file that httpd will start. I read a post by you on a similar issue, and it said to delete the file to remedy the problem.

Re: GamePanel App for Amahi

Posted: Fri Jun 07, 2019 6:24 pm
by bigfoot65
That is correct.

Did you remove the web app from the dashboard?

The error you had before with httpd was not normal. Is it still there?