Chris92de / AdminServ

WebInterface to manage Trackmania Forever and ManiaPlanet dedicated servers
http://forum.maniaplanet.com/viewtopic.php?f=261&t=29509
20 stars 8 forks source link

Can't upload maps via AdminServ #1

Closed jmgraeffe closed 6 years ago

jmgraeffe commented 6 years ago

Hey,

at first thanks for your work. An awesome interface needs to be further alive. But I've one problem: I can't upload maps to Trackmania 2 Stadium servers.

I don't know if it's a problem of AdminServ or the dedicated server itself, the only message I get is: The file was not uploaded. Upload has been cancelled or a server error occurred. ([-1000] couldn't write file.) In the console log of the dedicated server I get [2018/03/22 15:21:45] Unable to open '/home/.../UserData/Maps/'. But the server should have write access obviously.

You said in your installation instructions that I might add the server's path to PHP's open basedir directories, but is this needed for this feature?

Thanks! Regards, Jon

niarfman commented 6 years ago

Hi,

Do you have more information concerning the rights (ls -la /home/[...]/UserData/Maps/) + a (ps -faux | grep php) ?