CLOSED: GamePanel App for Amahi

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

CLOSED: GamePanel App for Amahi

Postby rdagijones » Wed May 29, 2019 11:44 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: GamePanel App for Amahi

Postby bigfoot65 » Wed May 29, 2019 4:37 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

Re: GamePanel App for Amahi

Postby rdagijones » Sat Jun 01, 2019 12:26 pm

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?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: GamePanel App for Amahi

Postby bigfoot65 » Sat Jun 01, 2019 1:48 pm

I would run 7.2 instead of 7.1 if there was a choice.

Likely there’s little difference between the two versions.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

Re: GamePanel App for Amahi

Postby rdagijones » Wed Jun 05, 2019 9:08 am

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?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: GamePanel App for Amahi

Postby bigfoot65 » Wed Jun 05, 2019 10:38 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

Re: GamePanel App for Amahi

Postby rdagijones » Thu Jun 06, 2019 10:35 am

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/.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: GamePanel App for Amahi

Postby bigfoot65 » Thu Jun 06, 2019 2:26 pm

Did you check the directory for the .conf file I mentioned?

What about the permissions for the directory you created?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

Re: GamePanel App for Amahi

Postby rdagijones » Fri Jun 07, 2019 6:31 am

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: GamePanel App for Amahi

Postby bigfoot65 » Fri Jun 07, 2019 6:24 pm

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?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 6 guests