• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

AAC Remote VPS - Cannot find config.lua file

demon088

#088 in the Horde
Joined
Jun 17, 2009
Messages
249
Solutions
3
Reaction score
30
Location
Hell
Hello I am trying to install the MyACC on Ubuntu 20.04 and it is on a remote VPS.
The problem is when I go to the 4th step on the installation, showing me: "Cannot find config.lua file. Is your server path correct? Go back and check again."
Like in the next picture. Note: I have already used "C:\Users\Yodef\Serv\canary-main" as local file directory but still having same problem.
1655314305238.png
The ip.txt has my local ip, not the VPS IP. Is it correct?
I have tried different ways to reach my server path, but still same error. Any idea what I might have done wrong?
Thanks for your time and help!
 
and if you are giving full path, start it with /, so it probably should be /root/canary
Okay... It is not working because I am doing it from my own IP, not on the VPS itself. The website (on VPS) is not locating the files because it doesn't have access to them (my own PC). How can I link the server path remotely?
BTW it is not working with "/root/canary" because the website installation is runing with my PC's IP... I am really confused about the next step... Any advise?
 
Last edited:
If you are hosting the website on the VPS, and the server on another completely different computer, then I think your only option is to 'mirror' your server files onto the VPS and point to that. Just remember to update it when you make changes to your local server files.

-edit-
The more I think about this the more horrible it is. You're going to have to make your SQL server accessible from outside your network (opening port 3306), a huge vulnerability, in order for the website to communicate with the SQL database, but seeing as you seem to have your website up and running, I'm guessing you're connected to a local mySQL instance? I think you're going to have to redo the entire thing, and host both the website and the server on the same pc.
 
Last edited:
If you are hosting the website on the VPS, and the server on another completely different computer, then I think your only option is to 'mirror' your server files onto the VPS and point to that. Just remember to update it when you make changes to your local server files.

-edit-
The more I think about this the more horrible it is. You're going to have to make your SQL server accessible from outside your network (opening port 3306), a huge vulnerability, in order for the website to communicate with the SQL database, but seeing as you seem to have your website up and running, I'm guessing you're connected to a local mySQL instance? I think you're going to have to redo the entire thing, and host both the website and the server on the same pc.
It's not a bad idea to host website on other host. It makes website slower and easier to take down, but attack on website (which are cheap and easy to buy) won't shutdown/lag OTS.
Of course host with OTS and MySQL database should allow connections to MySQL only from website VPS IP.
Okay... It is not working because I am doing it from my own IP, not on the VPS itself. The website (on VPS) is not locating the files because it doesn't have access to them (my own PC). How can I link the server path remotely?
BTW it is not working with "/root/canary" because the website installation is runing with my PC's IP... I am really confused about the next step... Any advise?
When I configure website on one host and OTS on another, I always upload OTS files to www machine (only few are required: config.lua and few .xml from data). In config.lua on website machine set ip = 'x.x.x.x' to IP of host with OTS. Acc. maker (at least Gesior2012) uses that IP to check number of players online.
 
If you are hosting the website on the VPS, and the server on another completely different computer, then I think your only option is to 'mirror' your server files onto the VPS and point to that. Just remember to update it when you make changes to your local server files.

-edit-
The more I think about this the more horrible it is. You're going to have to make your SQL server accessible from outside your network (opening port 3306), a huge vulnerability, in order for the website to communicate with the SQL database, but seeing as you seem to have your website up and running, I'm guessing you're connected to a local mySQL instance? I think you're going to have to redo the entire thing, and host both the website and the server on the same pc.
Okay, I think I just confused you guys, I have the website and ots on same VPS, the issue is that when I try to install the website it asks for my IP (my own machine) instead of VPS's. Then as far as I understand I need to install website directly from the VPS itself, not using my own IP.

It's not a bad idea to host website on other host. It makes website slower and easier to take down, but attack on website (which are cheap and easy to buy) won't shutdown/lag OTS.
Of course host with OTS and MySQL database should allow connections to MySQL only from website VPS IP.

When I configure website on one host and OTS on another, I always upload OTS files to www machine (only few are required: config.lua and few .xml from data). In config.lua on website machine set ip = 'x.x.x.x' to IP of host with OTS. Acc. maker (at least Gesior2012) uses that IP to check number of players online.
@Gesior.pl What I exactly need to know is how to install the website remotely (all on the VPS) even the OTS, what would you recommend?
Thank you guys for helping me! I am still getting updated with all of this process, but I think it is worth!
 
Last edited:
Okay, I think I just confused you guys, I have the website and ots on same VPS, the issue is that when I try to install the website it asks for my IP (my own machine) instead of VPS's. Then as far as I understand I need to install website directly from the VPS itself, not using my own IP.


@Gesior.pl What I exactly need to know is how to install the website remotely (all on the VPS) even the OTS, what would you recommend?
Thank you guys for helping me! I am updating with all of this mess, but I think it is worth!
And that is not a simply copy and paste of all files(website) into /var/www/html in vps machine?

Then acess your web via ip(ip of vps) and make the install.

Copy the necessary otserv files(config.lua and others) to a folder(let's call it OTFILES), for example /home/OTFILES and then during the website installation, in the server path, you put exactly /home/OTFILES
 
And that is not a simply copy and paste of all files(website) into /var/www/html in vps machine?

Then acess your web via ip(ip of vps) and make the install.

Copy the necessary otserv files(config.lua and others) to a folder(let's call it OTFILES), for example /home/OTFILES and then during the website installation, in the server path, you put exactly /home/OTFILES
I have tried that already, the thing is that whenever you try to install MyAAC it asks for the ip from which you are installing. In this case I am doing it remotely from my own PC, so it will ask for my own IP always, unless I open the installer inside the VPS remotely, but I am not sure how to do so. I still have doubts about the process... However thanks for your help!
 
Back
Top