Running uaseco.sh
Posted: 01 Jul 2020, 21:45
Hello,
I have been running into an issue getting my windows installation of TM2 and UASECO working on Ubuntu 18.10 in Google Cloud Platform. Yes, I'm moving it to the cloud. I have been able to get the server to run successfully and connect to it. I can play maps and it sees me as a MasterAdmin properly. I can run webrequest.sh and it returns the random number as usual, but when I run uaseco.sh, it returns a number just like webrequest.sh would. I am not sure what the correct path the script should be changing directory to. In the UASECO documentation, it tells me to change directory to the same folder I'm already in, which makes no sense to me. What's the correct directory I should be going to?
You can see that it's currently set to: "/home/kendrick/Documents/UASECO/"
Here's what happens when I run it:
kendrick@tm2-dedicated:~/Documents/UASECO$ ./uaseco.sh
1805
Does anyone have any suggestions for this issue?
I have been running into an issue getting my windows installation of TM2 and UASECO working on Ubuntu 18.10 in Google Cloud Platform. Yes, I'm moving it to the cloud. I have been able to get the server to run successfully and connect to it. I can play maps and it sees me as a MasterAdmin properly. I can run webrequest.sh and it returns the random number as usual, but when I run uaseco.sh, it returns a number just like webrequest.sh would. I am not sure what the correct path the script should be changing directory to. In the UASECO documentation, it tells me to change directory to the same folder I'm already in, which makes no sense to me. What's the correct directory I should be going to?
Code: Select all
#!/bin/sh
cd /home/kendrick/Documents/UASECO/
php -d allow_url_fopen=on -d safe_mode=0 uaseco.php TM2 2>>logs/uaseco.log 1>&2 &
echo $!
Here's what happens when I run it:
kendrick@tm2-dedicated:~/Documents/UASECO$ ./uaseco.sh
1805
Does anyone have any suggestions for this issue?