devryan / GamePanelX-V3

The Original Free and Open Source Game Control Panel
https://www.gamepanelx.com
Other
131 stars 94 forks source link

Make GPX symlink friendly #100

Closed antoniobenedetti closed 8 years ago

antoniobenedetti commented 10 years ago

Since the hard drive is mounted at the /home directory and GPX uses /usr/local/gpx, i made a symlink. However i can make a template, create a game server, browse the game server files but i cannot start the server. I get game directory doesn't exist error. Please make GPX symlink directory friendly so i can use the /home directory. The symlink was created using the following command and i have inserted the code in the remote install script:

ln -s /home/gpx /usr/local/gpx

antoniobenedetti commented 10 years ago

Nope, the issue wasn't my symlink. GPX was trying to start the game server on a different network server. I guess this issue is related to this: http://gamepanelx.com/forums/viewtopic.php?f=11&t=4313 However the local server was removed, i only have a second remote server. It looks like that you can't run two remote servers, the panel will only try to start the game server on the first one.

EDIT: Yup, no matter how many network servers you connect, gpx will try to start up the game server on the first one. So you can't really have more than one network server/dedicated server.

obidm commented 10 years ago

Maybe I misunderstand this conversation, or the documentation at http://gamepanelx.com/wikiv3/index.php?title=Multi_Server but I thought multiple remotes worked. I was planning to have one VDS run the master, and then have multiple remotes running on other VDS's. Can I sidestep this issue by deleting the local remote before creating any game servers on it? Or, will it still be the case that only the servers created on the first remote in the list will start?

antoniobenedetti commented 10 years ago

Multiple remotes should work in theory, but there is a bug in gpx. You should delete any other remote or local server first before you add new network server or else any newly installed game servers will not be able to start up.

obidm commented 10 years ago

But, after deleting the default local server and then adding the remotes, will only the first remote added work?

antoniobenedetti commented 10 years ago

Yes, that's correct.

devryan commented 9 years ago

Looking into the network bug now where it does (many actions) on the wrong network server.

antoniobenedetti commented 9 years ago

Great, i hope you can fix it :+1:

obidm commented 9 years ago

Me, too. I need hundreds of slave servers right away. XD Seriously, if there's anything a guy with dev boxes can do to help, let me know.

antoniobenedetti commented 9 years ago

No updates yet? :(

obidm commented 9 years ago

I would pay upwards of a dollar to be able to use more than one remote. :-)

devryan commented 9 years ago

Sorry for the delays, I promise a fix very soon!

I really need to get some other people to work on this project and get them GIT access.

devryan commented 9 years ago

So in my testing (and I am sure this has already been well reported) -- there are more issues, which I am fixing now:

I am working on fixing these issues now, then I will move to fixing the restart issue. The restart issue should be simple.

devryan commented 9 years ago

Can you guys test this? Just committed some changes: https://github.com/devryan/GamePanelX-V3/commit/155f4fbc328030a0cf4ae55c96eb601bad68ecc3

Let me know if the restart with multi-remotes is still a problem for you.

devryan commented 9 years ago

As of right now I'd clone the full repo (or git pull) as there were a few commits since that one.

obidm commented 9 years ago

Ryan, just want you to know I'm trying to get time to do a proper test, I'm very excited about testing these changes to the remotes. Please don't think nobody noticed! Will report back as soon as I can.