[Tool] AdminServ 2.1.0

Moderator: NADEO

User avatar
nighthawk4571
Posts: 618
Joined: 20 Aug 2011, 06:39
Location: QLD, Australia
Contact:

Re: [Tool] AdminServ 2.1.0

Post by nighthawk4571 »

chmod 777 on maps folder PLUS all folders & files inside it? I think maybe you can't see the contents of 'LOCAL' in adminserv because of this setting. Might be worth checking.

Cheers
Image
Getting old, forgetting most of what I ever learned !
My name is Nighthawk. The 4571 used to be my IQ. :shock:

Admin: http://bagracing.freeforums.org/portal.php
U-tUbe: https://www.youtube.com/user/bvnighthawk
Flighthigh
Posts: 406
Joined: 29 Jun 2010, 06:48

Re: [Tool] AdminServ 2.1.0

Post by Flighthigh »

chmod 777 is on Maps and all inside Folder and files. But no Local Folder is seen in AdminServ
User avatar
weerwolf
Posts: 603
Joined: 15 Jun 2010, 21:21
Location: Wijchen, Netherlands
Contact:

Re: [Tool] AdminServ 2.1.0

Post by weerwolf »

Take into account that the webserver is not alowed below its set path

e.g.
AdminServ:
/var/www/vhosts/mydomain.com/httpdocs/AdminServ

Dedicated:
/home/games/maniaplanet3

Would not allow the webserver there
Flighthigh
Posts: 406
Joined: 29 Jun 2010, 06:48

Re: [Tool] AdminServ 2.1.0

Post by Flighthigh »

sry i dont understand this.

You mean that the dedicated Server must run on the Webserverfolder?
User avatar
weerwolf
Posts: 603
Joined: 15 Jun 2010, 21:21
Location: Wijchen, Netherlands
Contact:

Re: [Tool] AdminServ 2.1.0

Post by weerwolf »

hmmm, I guess u need to know and understand how webservers may be set up, which structure is used and where vhosts are serving files to the internet.
One thing though; the dedicated may never reside in the root folder or any folder below that serves the internet.

where and how the document root is called can be anything, but common names are htdocs and httpdocs
Flighthigh
Posts: 406
Joined: 29 Jun 2010, 06:48

Re: [Tool] AdminServ 2.1.0

Post by Flighthigh »

i hope i understood. But my english ist very bad.

My TM-Server runs in the /home/trackmania2/folder1 and folder 2

The AdminServ is in /var/www/domain.de/httpdocs/AdminServ/

AdminServ works. I can upload Tracks over the sendn-button and they run after that on the Server.
But only Tracks <0,8 MB. This time i load the Track > 0,8 MB over FTP to the right direction and then i want to put them to the Matchsettings by edit the matchsettingfile.For the startup of the Server it is a lot of work. After this i must take everytime a look how much MB have the Track. I think that is not in sens of the Author from AdminServ. So i need help why the Folder isd dont show in the AdminServ-Webpage.
User avatar
kripkee
Posts: 920
Joined: 21 Jun 2010, 14:04

Re: [Tool] AdminServ 2.1.0

Post by kripkee »

I have the same problem with this local things.

On my root running debian etc. - My gameserver running not on a webserver, Adminserver is running on a webserver.
I can connect with adminserv to my (TMF)server and almost everything works. If I change the matchsettings - I will get an error cause the matchsettings can not be saved - but the server got this informations. Same for uploading maps, there will be uploaded and be played in the current playlist, but the local function won't be shown :s

Cheers,
Kripke
User avatar
nighthawk4571
Posts: 618
Joined: 20 Aug 2011, 06:39
Location: QLD, Australia
Contact:

Re: [Tool] AdminServ 2.1.0

Post by nighthawk4571 »

Flighthigh, In the adminserv/config/servers.cfg file, look at the section for each server:

Code: Select all

                        'E.g. Server1' => array(
                                    'address'                       => 'localhost',
                                    'port'                             => 5000 e.g.,
                                    'mapsbasepath' => 'UserData/Maps',
                                    'matchsettings'  => 'MatchSettings/Stadium.txt',
                                    'adminlevel'       => array('SuperAdmin' => 'all', 'Admin' => 'local', 'User' => 'none')
                        ),
Delete the line (if it exists):
'mapsbasepath' => 'UserData/Maps',
I think yours was 'mapsbasepath' => 'UserData/My Maps',

Here is the section for one of my servers:

Code: Select all

                        'BR-Delerium' => array(
                                    'address'                       => 'localhost',
                                    'port'                             => 5020,
                                    'matchsettings'  => 'MatchSettings/Stadium.txt',
                                    'adminlevel'       => array('SuperAdmin' => 'all', 'Admin' => 'local', 'User' => 'none')
                        ),
I think this should fix it :). Don't ask me why - with that line in, I see the same as you; with it removed, I see all maps folders. *** I have two different .cfg files, obviously there was a change between the earlier version and the current one.
___________________________________________________________________________________
Kripkee, this might be the same for you. Also, I suggest you check the owner permissions on the path to the DediServer folder.
On my system:
/home/maniaplanet/ = 0771
then
/home/maniaplanet/TM22/ (e.g.) = 0775
then
/home/maniaplanet/TM22/UserData/ = 0777
then
/home/maniaplanet/TM22/UserData/Maps/ = 0777

Not sure if this is helpful... but worth checking as permissions can be a nightmare when you set up for different tools, e.g. RemoteCP, AdminServ, xaseco-stats etc.
This works on the same AdminServ page for TMU (Forever), TM2 and TM3 servers (see my link below).

Cheers :pil
Image
Getting old, forgetting most of what I ever learned !
My name is Nighthawk. The 4571 used to be my IQ. :shock:

Admin: http://bagracing.freeforums.org/portal.php
U-tUbe: https://www.youtube.com/user/bvnighthawk
Flighthigh
Posts: 406
Joined: 29 Jun 2010, 06:48

Re: [Tool] AdminServ 2.1.0

Post by Flighthigh »

nighthawk4571 wrote:Flighthigh, In the adminserv/config/servers.cfg file, look at the section for each server:

Code: Select all

                        'E.g. Server1' => array(
                                    'address'                       => 'localhost',
                                    'port'                             => 5000 e.g.,
                                    'mapsbasepath' => 'UserData/Maps',
                                    'matchsettings'  => 'MatchSettings/Stadium.txt',
                                    'adminlevel'       => array('SuperAdmin' => 'all', 'Admin' => 'local', 'User' => 'none')
                        ),
Delete the line (if it exists):
'mapsbasepath' => 'UserData/Maps',
I think yours was 'mapsbasepath' => 'UserData/My Maps',

Here is the section for one of my servers:

Code: Select all

                        'BR-Delerium' => array(
                                    'address'                       => 'localhost',
                                    'port'                             => 5020,
                                    'matchsettings'  => 'MatchSettings/Stadium.txt',
                                    'adminlevel'       => array('SuperAdmin' => 'all', 'Admin' => 'local', 'User' => 'none')
                        ),
I think this should fix it :). Don't ask me why - with that line in, I see the same as you; with it removed, I see all maps folders. *** I have two different .cfg files, obviously there was a change between the earlier version and the current one.
Thks but this dont help. I got the same result. The localfolders dont see
User avatar
kripkee
Posts: 920
Joined: 21 Jun 2010, 14:04

Re: [Tool] AdminServ 2.1.0

Post by kripkee »

Well, for it works now, thx :thumbsup:

I just remove the entry from the

Code: Select all

'mapsbasepath'	=> '/gameserver/tmuf/dunnotrain/GameData/Tracks',
to

Code: Select all

'mapsbasepath'	=> '',
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 1 guest