Open BradenM opened 7 years ago
This looks good, and we can certainly get this up on the wiki for this repo. Couple of things though:
It's late tonight, but I will definitely get on it tomorrow!
Note there is no offical confirmation of 64bit linux server for arma atm. So it might be abit late
Hello @ThePistachios,
I tried to go into your wiki, but for me it appear to be empty, did you wiped it ?
@PyRowMan Whoops! I did by accident. Back up now. Thanks. :)
Note that it is not finished, so please read BoGuu's comment above.
@ThePistachios I thought it was weird :P
@ThePistachios
I spot a first error :
Create new Directory for steamCMD by running mkdir ~/steamcmd && cd ~/steamcd
into
Create new Directory for steamCMD by running mkdir ~/steamcmd && cd ~/steamcmd
@PyRowMan
Thank you. Will fix.
@ThePistachios Another thing, by default steam is installing his games into ~/Steam/steamapps/common/ So for this step :
Run ln -s //mpmissions //MPMissions to solve possible errors.
You can cd ~/Steam/steamapps/common/Arma 3 Server
or you can (before installing the game with steam) force an installation path
@ThePistachios after following your tutorial, i get several errors on my logs, can't get access to the player menu and when first loging to the server i have the "Setting up client, please wait..." message, where I have to respawn to get rid of it.
here is a link to my log file : https://www.mediafire.com/?ihj5y8vdf7pgefy
PS : I tried using extDB3-1023+Linux and extDB3-1026 available from here : https://bitbucket.org/torndeco/extdb3/downloads/
PPS : I also had to deactivate SpyGlass in order to enter the server.
Do you have any ideas why I got theses issues ?
@PyRowMan
Sorry to hear that. Please use pastebin for logs, as it makes it easier to access. I'm on mobile right now, so I can't download and look at the logs from mediafire.
The "Setting up client, please wait" means your database is not properly setup. Please include your extDB3 logs. (Also in pastebin)
I have always had SpyGlass issues on every Linux server I've done. Including one on centOS7. Not quite sure about that.
Regarding your earlier comment, thanks for the tips.
Edit: Nevermind, got it up on mobile. Taking a look now. (Still supply your extDB3 log though)
Edit 2: From looking at your logs it looks as if you forgot to include your missions.sqm file. (From the SQMs folder at the root of the repository) Is this true? It also looks as if this error is preventing extDB3 from fully connected (yes it's loaded, but it never gets to the point where it relays a connect or error message.) To add the file simply copy the mission.Altis.sqm file from the SQM folder and paste in your mission files root directory. Then rename it as mission.sqm
Hey @ThePistachios,
I finally get the server up and running, happens that the db user in description.ext was extDB2, so i'm currently running the server with extDB2, but i'll probably reswap soon to extDB3, so i'll update you if your fix work :)
PS : I'm currently working on an "/etc/init.d/altisserver" daemon, we will be able to "{start|stop|update|backup|status|restart|command \"server command\"}" the server from it.
I'll post the repo or the script as soon as it is at v1.0 if you are interested to integrate it in your tutorial
@PyRowMan
I'm a bit confused, the user as remained altislife
across both versions, right?
The daemon sounds like an interesting prospect. If you want to go ahead and upload what you have to GitHub I could take a look and possibly contribute some :).
@ThePistachios
Sorry my mistake, the word was "used" not "user"; the version of extDB is specified in this file ;)
I'm near the end for the daemon, i'm currently struggling with inline comand of steam to update arma, but it's the last task i have to do to complete it :)
But i'll surely add it to github right after that
(i've used a modified version of py3rcon to make my request to the server, so i'll upload that too)
EDIT : Here is the daemon https://github.com/PyRowMan/altisdaemon
I'll fork the py3rcon now if you find a way to rcon without the library it would be very nice :P
Please can you take this away from the issue, it's becoming not relevant. If you want to discuss, by all means use the Discord or other means! :)
Hello @BoGuu,
1 - I'm trying to help @ThePistachios, with his tutorial by testing it. 2 - I'm proposing to him to integrate a daemon script to his tutorial.
I'm sorry, but I don't understand why you find the conversation irrelevant. How are theses two points irrelevant ?
BTW : I've finished to fork my py3rcon version, here is the link : https://github.com/PyRowMan/py3rcon
I'll update my README.md to explain how to use it.
BTW : I've finished to fork my py3rcon version, here is the link : https://github.com/PyRowMan/py3rcon
I'll update my README.md to explain how to use it.
This is not relevant to this repo, or the wiki. By all means carry on with it, but any external tools should stay external
https://community.bistudio.com/wiki/Arma_3_Dedicated_Server
You'll find some windows example script to automatise the update of the arma server.
Since extDB2-rcon is not stable to use (I tried it), and it disapear in extDB3, I don't really see why the conversation should be that closed about it.
Notes for updating are already there, but there is plenty of third party docs on the matter. This wiki is a guide on setting up an AL instance, people can do anything else after that as they see fit. I'm not sure how anything RCon (past setting up BE) is relevant here. If it concerns a third party tool/system, it belongs elsewhere, it isn't to do with AL specifically
@PyRowMan ,
No reason to argue, this conversation should be moved to the discord on #server_linux
Past that, sounds like a good idea :+1:
I cannot seem to get my mods to load. On my server. Like life_server and extbd3 I'm using Ubuntu 16.04 if that helps. My command for mods is mod=@extdb3;life_server please help me it's bugging me. It's shows in logs. Just not in browser. And when I join the server it says trying to find player. Spam. It's really bugging me
@numpty9989 First off, the Linux Branch of Arma servers is a little buggy, but either way, you have your launch parameters a little off. Try this instead:
-servermod=@extdb3;@life_server;
Please assure that your servermods exist with the same names.
So, in the root of your server, make sure @extdb3
and @life_server
exist as a folder with the correct files within.
I know I did explain this a little poorly, so let me know if you have any other issues.
Again. Linux is a bit buggy as it's not on Bohemia's agenda to keep the linux branch of servers as up-to-date as windows. So, if this all fails, try a Windows server instead if need be.
See this for linux mods - https://community.bistudio.com/wiki/Arma_3_Startup_Parameters
"Loads the specified sub-folders for different server-side (not broadcasted to clients) mods. Separated by semi-colons. Absolute path and multiple stacked folders are possible.In Linux multiple folders arguments need the following separation syntax: -mod=mod1\;mod2\;mod3."
Will server mods show in list as I have other mods I want to use and what to know they are working thanks f as I have ran windows servers before and know server mods command doesn't show in mod list in server browser also my mod command was right I forgot to add the @ for life_server. Xd. It was 2 am here and typed on phone that auto corrected it. Cheers for help too. I just need this working. The other mods I will be loading is cup ones so cupcore cup weapons. So need to know they are loading ok.
Staff Note: This is not a bug, but rather a suggestion/addition
Hello! I noticed the Linux tutorial appears to be a bit lacking, to say the least.
So, due to a recent server wipe, I had to fully reinstall Altis Life from scratch. Along the way, I went ahead and wrote up a tutorial for the wiki page. Unfortunately, GitHub doesn't feature a Wiki PR, so best I could do it put it up on my fork. If of course, you do want to you use it, then you can put it up on the main page.
It is available here
It may need some revisions or something, so if you spot an error, I will definitely get on it! Anyways, would love to hear your thoughts, thanks.