Closed ChidaoDouyu closed 3 weeks ago
Can you please put the output into a code box, because currently, it's hard to read
Edit: Did it for you. You need to use 3 backticks for a code block. One is just for inline code
Is this the config before or after you started AstroTuxLauncher?
Did it change after you ran it?
sorry, after i've copied the explains and options together to the config file (i always did that) but after ran, it changed to the easiest type as now
let me try to remake it and log the progress
I can't reproduce the error you got with the provided config file on Debian 12 with Python 3.11.2 in a new Pytrhon Virtual Environment.
I am getting a different error with your config file, but that one is complaining about you not having settings for ntfy in the launcher.toml
file, even though you set the notification method to ntfy
.
can i add some parameters to the install code to set the config path?
can i add some parameters to the install code to set the config path?
You can set the config path with the -c CONFIG_PATH
command line parameter (see python3 AstroTuxLauncher.py --help
)
Also make sure when writing the config file that you read the comments in the example on the github page. Some things are additionally required, if you choose a notification method.
I changed the method to "none" This is the Error
$ python3 ./AstroTuxLauncher.py install
/usr/lib/python3/dist-packages/requests/__init__.py:87: RequestsDependencyWarning: urllib3 (1.26.5) or chardet (5.1.0) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
___ __ ______
/ | _____/ /__________/_ __/_ ___ __
/ /| | / ___/ __/ ___/ __ \/ / / / / / |/_/
/ ___ |(__ ) /_/ / / /_/ / / / /_/ /> <
/_/ |_/____/\__/_/ \____/_/ \__,_/_/|_|
L a u n c h e r
Unofficial Astroneer Dedicated Server Launcher for Linux
v1.1.8
[01:18:40] [Launcher/INFO] Configuration file path: /opt/AstroTuxLauncher/launcher.toml
[01:18:40] [Launcher/ERROR] Error while loading config file (ValueError): 'none' is not a valid NotificationMethod
[01:18:40] [Launcher/ERROR] Please check the config path parameter and/or config file
[01:18:40] [Launcher/INFO] Quitting...
I don't need notification now, how I can close it instantly? At least after I have time to start my ntfy?
I changed the method to "none" This is the Error
$ python3 ./AstroTuxLauncher.py install /usr/lib/python3/dist-packages/requests/__init__.py:87: RequestsDependencyWarning: urllib3 (1.26.5) or chardet (5.1.0) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported " ___ __ ______ / | _____/ /__________/_ __/_ ___ __ / /| | / ___/ __/ ___/ __ \/ / / / / / |/_/ / ___ |(__ ) /_/ / / /_/ / / / /_/ /> < /_/ |_/____/\__/_/ \____/_/ \__,_/_/|_| L a u n c h e r Unofficial Astroneer Dedicated Server Launcher for Linux v1.1.8 [01:18:40] [Launcher/INFO] Configuration file path: /opt/AstroTuxLauncher/launcher.toml [01:18:40] [Launcher/ERROR] Error while loading config file (ValueError): 'none' is not a valid NotificationMethod [01:18:40] [Launcher/ERROR] Please check the config path parameter and/or config file [01:18:40] [Launcher/INFO] Quitting...
Yeah, that is actually expected, as the "none" option is actually to use an empty string like this: ""
(The Github page is not clear on that and I will update it)
Thanks
Does the install work now?
nope, the first error out again
The one with "EventType"?
Please send me your full launcher.toml
file again (You can just attach it as a file)
Hmm, with that exact config file, I am not getting the error.
Could you try creating a python virtual environment in the folder venv with python -m venv venv
.
This encapsulates the pip packages into that folder.
You then "enter" the venv with source venv/bin/activate
and can "leave" it again with the command deactivate
.
Please create it, enter it and do the pip install -r requirements.txt
again.
Also, did you change the extension to .txt
or is that the extension the file is saved as?
toml or yml cannot be uploaded on github so i changed it directly
should I create the virtual envirenment under the folder of the launcher or anywhere?
I find two paths
/usr/lib/python3.11/venv
/usr/lib/python3.9/venv
Should I produce in 3.11/venv?
No, don't search for it, the command will create a folder called venv
. Just execute it in the same folder as AstroTuxLauncher.py
.
Just use the same python command you used for AstroTuxLauncher
I'm installing the requires, I found that the version of chardet (5.2.0) is different with outside (5.1.0)
Ok, it couldn't connect to https://api.ipify.org?format=json
to get your public IP address, but it seems to be downloading DepotDownloader fine.
Edit: Or did it not continue?
oops, another error appeared Sorry but this was after I sent the last message
>$ /opt/AstroTuxLauncher# python -m venv venv
>$ /opt/AstroTuxLauncher# pwd
/opt/AstroTuxLauncher
>$ /opt/AstroTuxLauncher# cd ./venv
>$ /opt/AstroTuxLauncher/venv# ls
bin include lib lib64 pyvenv.cfg
>$ /opt/AstroTuxLauncher/venv# cd ..
>$ /opt/AstroTuxLauncher# source venv/bin/activate
(venv) >$ /opt/AstroTuxLauncher# pip install -r requirements.txt
Collecting alive_progress
Using cached alive_progress-3.1.5-py3-none-any.whl (75 kB)
Collecting chardet
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f223ab1bb90>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /packages/38/6f/f5fbc992a329ee4e0f288c1fe0e2ad9485ed064cac731ed2fe47dcc38cbf/chardet-5.2.0-py3-none-any.whl
Downloading chardet-5.2.0-py3-none-any.whl (199 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.4/199.4 kB 21.7 kB/s eta 0:00:00
Collecting colorlog
Downloading colorlog-6.8.2-py3-none-any.whl (11 kB)
Collecting dataclasses_json
Downloading dataclasses_json-0.6.7-py3-none-any.whl (28 kB)
Collecting IPy
Using cached IPy-1.1-py3-none-any.whl
Collecting packaging
Downloading packaging-24.1-py3-none-any.whl (53 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 11.6 kB/s eta 0:00:00
Collecting pansi
Using cached pansi-2020.7.3-py2.py3-none-any.whl (10 kB)
Collecting pathvalidate
Downloading pathvalidate-3.2.1-py3-none-any.whl (23 kB)
Collecting psutil
Downloading psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (290 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 290.5/290.5 kB 22.0 kB/s eta 0:00:00
Collecting Requests
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 14.0 kB/s eta 0:00:00
Collecting tomli
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting tomli_w
Downloading tomli_w-1.0.0-py3-none-any.whl (6.0 kB)
Collecting about-time==4.2.1
Using cached about_time-4.2.1-py3-none-any.whl (13 kB)
Collecting grapheme==0.6.0
Using cached grapheme-0.6.0-py3-none-any.whl
Collecting marshmallow<4.0.0,>=3.18.0
Downloading marshmallow-3.22.0-py3-none-any.whl (49 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.3/49.3 kB 13.7 kB/s eta 0:00:00
Collecting typing-inspect<1,>=0.4.0
Downloading typing_inspect-0.9.0-py3-none-any.whl (8.8 kB)
Collecting six
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting charset-normalizer<4,>=2
Downloading charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.3/140.3 kB 20.1 kB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading idna-3.10-py3-none-any.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 37.1 kB/s eta 0:00:00
Collecting urllib3<3,>=1.21.1
Downloading urllib3-2.2.3-py3-none-any.whl (126 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.3/126.3 kB 13.8 kB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading certifi-2024.8.30-py3-none-any.whl (167 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.3/167.3 kB 20.4 kB/s eta 0:00:00
Collecting mypy-extensions>=0.3.0
Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Collecting typing-extensions>=3.7.4
Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Installing collected packages: IPy, grapheme, urllib3, typing-extensions, tomli_w, tomli, six, psutil, pathvalidate, packaging, mypy-extensions, idna, colorlog, charset-normalizer, chardet, certifi, about-time, typing-inspect, Requests, pansi, marshmallow, alive_progress, dataclasses_json
Successfully installed IPy-1.1 Requests-2.32.3 about-time-4.2.1 alive_progress-3.1.5 certifi-2024.8.30 chardet-5.2.0 charset-normalizer-3.3.2 colorlog-6.8.2 dataclasses_json-0.6.7 grapheme-0.6.0 idna-3.10 marshmallow-3.22.0 mypy-extensions-1.0.0 packaging-24.1 pansi-2020.7.3 pathvalidate-3.2.1 psutil-6.0.0 six-1.16.0 tomli-2.0.1 tomli_w-1.0.0 typing-extensions-4.12.2 typing-inspect-0.9.0 urllib3-2.2.3
>$ python3 ./AstroTuxLauncher.py install
___ __ ______
/ | _____/ /__________/_ __/_ ___ __
/ /| | / ___/ __/ ___/ __ \/ / / / / / |/_/
/ ___ |(__ ) /_/ / / /_/ / / / /_/ /> <
/_/ |_/____/\__/_/ \____/_/ \__,_/_/|_|
L a u n c h e r
Unofficial Astroneer Dedicated Server Launcher for Linux
v1.1.8
[01:43:55] [Launcher/INFO] Configuration file path: /opt/AstroTuxLauncher/launcher.toml
[01:43:55] [Launcher/INFO] Working directory: /opt/AstroTuxLauncher
[01:43:55] [DedicatedServer/INFO] Overwriting PublicIP field in Dedicated Server config...
[01:43:55] [Net/INFO] Getting IP from remote service
[01:43:55] [DedicatedServer/ERROR] Could not update PublicIP field: <urlopen error [Errno 111] Connection refused>
[01:43:55] [DedicatedServer/INFO] NOTICE: Encryption is disabled. All players that want to join the Dedicated Server have to disable encryption on their clients too
[01:43:55] [Launcher/INFO] Installing Astroneer Dedicated Server...
[01:43:55] [Launcher/INFO] DepotDownloader not found, downloading...
Downloading DepotDownloader |⚠︎ | 0% in 10.2s (0.00%/s)
[01:44:05] [Launcher/CRITICAL] Error while installing server on line 591: RemoteDisconnected: Remote end closed connection without response
[01:44:05] [Launcher/ERROR] Traceback (most recent call last):
File "/opt/AstroTuxLauncher/./AstroTuxLauncher.py", line 591, in <module>
launcher.update_server()
File "/opt/AstroTuxLauncher/./AstroTuxLauncher.py", line 387, in update_server
steam.dl_depotdownloader(path.dirname(self.depotdl_path), path.basename(self.depotdl_path))
File "/opt/AstroTuxLauncher/utils/steam.py", line 86, in dl_depotdownloader
zip_path, _ = dl.download(bar)
^^^^^^^^^^^^^^^^
File "/opt/AstroTuxLauncher/utils/steam.py", line 64, in download
file_path, http_msg = request.urlretrieve(self.url, filename=self.filename, reporthook=self._reporthook)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 241, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 519, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 1352, in do_open
r = h.getresponse()
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/http/client.py", line 1374, in getresponse
response.begin()
File "/usr/lib/python3.11/http/client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
I'm installing the requires, I found that the version of chardet (5.2.0) is different with outside (5.1.0)
Yes, that is why you want to try inside the venv
Ok, now with the latest error it seem like AstroTuxLauncher can't connect to Github to download DepotDownloader and since it also couldn't get the public IP something seems to e blocking outgoing connections.
It's so generous of you to guide me. So how can I get unblocked? My server is with Public v4 IP
Hmm, I can't really guide you, as I don't know why the connection doesn't work Does the following command work for you on the machine that is also running AstroTuxLauncher and download the file?
wget https://github.com/SteamRE/DepotDownloader/releases/latest/download/DepotDownloader-linux-x64.zip
(this assumes you have wget installed, if not, install it or use curl or something similar)
I can ping to github.com
(venv) /opt/AstroTuxLauncher# ping github.com
PING github.com (20.205.243.166) 56(84) bytes of data.
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=1 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=2 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=3 ttl=109 time=99.9 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=4 ttl=109 time=99.7 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=5 ttl=109 time=100 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=6 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=7 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=8 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=9 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=10 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=11 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=12 ttl=109 time=99.9 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=13 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=14 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=15 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=16 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=17 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=18 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=19 ttl=109 time=99.9 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=20 ttl=109 time=99.8 ms
q64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=21 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=22 ttl=109 time=99.8 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=23 ttl=109 time=99.8 ms
^C
--- github.com ping statistics ---
23 packets transmitted, 23 received, 0% packet loss, time 22022ms
rtt min/avg/max/mdev = 99.732/99.813/100.138/0.078 ms
But does the download work?
Could it be banned because of the venv?
(venv) /opt/AstroTuxLauncher# wget https://github.com/SteamRE/DepotDownloader/releases/latest/download/DepotDownloader-linux-x64.zip
--2024-09-27 02:00:37-- https://github.com/SteamRE/DepotDownloader/releases/latest/download/DepotDownloader-linux-x64.zip
Resolving github.com (github.com)... 20.205.243.166
Connecting to github.com (github.com)|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.7.1/DepotDownloader-linux-x64.zip [following]
--2024-09-27 02:00:38-- https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.7.1/DepotDownloader-linux-x64.zip
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... Read error (The request is invalid.) in headers.
Retrying.
--2024-09-27 02:01:09-- (try: 2) https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.7.1/DepotDownloader-linux-x64.zip
Connecting to github.com (github.com)|20.205.243.166|:443...^C
Did the command finish successfully or not?
Could it be banned because of the venv?
You can just deactivate the venv and try this, but it should not be the case.
I deact away and test the wget code. It seems doesn't work
The command ran for a long time so I stop it with ^C I'll test again
I mean it's downloading something, so it'll take some time. Just let it run through
This is the log outside of venv
Does it finish downloading? And did you also try letting it run inside the venv?
My server is in China so maybe firewall is the reason. I have an VPN but I don't know how to deploy it on Linux. It's hard to make all things perfect.
It's super slow now. The speed displays as --.--KB/s. And it hasn't finished since 2 minutes ago.
Ah, maybe that could be a problem, yeah. This might also hinde you running an Astroneer Server in general, as it needs to connect to Playfab (Service by Microsoft), but I'm not sure. But the problem sees to not just be in the venv, correct?
I'm trying to ping github.com with big size bags. It seems bad.
I also tried to wget the respo in the venv. It can connect to github but the downloading speed is very slow too as outside the venv.
hmm, so this is a bigger problem. I don't think I can help you too much with this, as it seems to be a general problem, not just for AstroTuxLauncher.
Did the git clone
work though or did you download it separately?
I changed the public IP config in AstroServer config file. This is the path.
/opt/AstroTuxLauncher/AstroneerServer/Astro/Saved/Config/WindowsServer/AstroServerSettings.ini
I deployed VPN on the machine and tested it successfully, including inside venv and outside.
(venv) /opt/AstroTuxLauncher# wget https://github.com/SteamRE/DepotDownloader/releases/latest/download/DepotDownloader-linux-x64.zip
--2024-09-27 13:29:37-- https://github.com/SteamRE/DepotDownloader/releases/latest/download/DepotDownloader-linux-x64.zip
Connecting to 127.0.0.1:7890... connected.
Proxy request sent, awaiting response... 302 Found
Location: https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.7.1/DepotDownloader-linux-x64.zip [following]
--2024-09-27 13:29:38-- https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.7.1/DepotDownloader-linux-x64.zip
Reusing existing connection to github.com:443.
Proxy request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/11851957/354fec9f-7565-4d70-8a67-d0944f83a14e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240927T052938Z&X-Amz-Expires=300&X-Amz-Signature=26274f847d00ec40c26c64ab227d21c67f395a1e910ab8c0f1dcf579e28e25fa&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3DDepotDownloader-linux-x64.zip&response-content-type=application%2Foctet-stream [following]
--2024-09-27 13:29:38-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/11851957/354fec9f-7565-4d70-8a67-d0944f83a14e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240927T052938Z&X-Amz-Expires=300&X-Amz-Signature=26274f847d00ec40c26c64ab227d21c67f395a1e910ab8c0f1dcf579e28e25fa&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3DDepotDownloader-linux-x64.zip&response-content-type=application%2Foctet-stream
Connecting to 127.0.0.1:7890... connected.
Proxy request sent, awaiting response... 200 OK
Length: 31587569 (30M) [application/octet-stream]
Saving to: ‘DepotDownloader-linux-x64.zip’
DepotDownloader-linux-x64.zip 100%[==================================================================================>] 30.12M 19.2MB/s in 1.6s
2024-09-27 13:29:41 (19.2 MB/s) - ‘DepotDownloader-linux-x64.zip’ saved [31587569/31587569]
And this is the result I installed the Launcher.
/opt/AstroTuxLauncher# source venv/bin/activate
(venv) /opt/AstroTuxLauncher# python3 AstroTuxLauncher.py install
___ __ ______
/ | _____/ /__________/_ __/_ ___ __
/ /| | / ___/ __/ ___/ __ \/ / / / / / |/_/
/ ___ |(__ ) /_/ / / /_/ / / / /_/ /> <
/_/ |_/____/\__/_/ \____/_/ \__,_/_/|_|
L a u n c h e r
Unofficial Astroneer Dedicated Server Launcher for Linux
v1.1.8
[13:27:11] [Launcher/INFO] Configuration file path: /opt/AstroTuxLauncher/launcher.toml
[13:27:11] [Launcher/INFO] Working directory: /opt/AstroTuxLauncher
[13:27:11] [DedicatedServer/INFO] NOTICE: Encryption is disabled. All players that want to join the Dedicated Server have to disable encryption on their clients too
[13:27:11] [Launcher/INFO] Installing Astroneer Dedicated Server...
[13:27:11] [Launcher/INFO] DepotDownloader not found, downloading...
Downloading DepotDownloader |████████████████████████████████████████| 100% in 4.6s (0.21%/s)
[13:27:16] [Steam/INFO] Finished downloading DepotDownloader in 5.24 seconds
[13:27:16] [Launcher/INFO] Updating Astroneer Dedicated Server app from Steam...
Updating app 728470 in 32.2s
[13:27:48] [Launcher/ERROR] Error while updating Astroneer Dedicated Server
[13:27:48] [Launcher/INFO] Goodbye!
Look forward to your reply.
AstroTuxLauncher uses DepotDownloader to download the server from steam and it's probably not just one download URL.
Try starting the it with the -l
option to see the output of DepotDownloader.
Yeah! A good news. Successfully installed!
(venv) /opt/AstroTuxLauncher# python3 AstroTuxLauncher.py install
___ __ ______
/ | _____/ /__________/_ __/_ ___ __
/ /| | / ___/ __/ ___/ __ \/ / / / / / |/_/
/ ___ |(__ ) /_/ / / /_/ / / / /_/ /> <
/_/ |_/____/\__/_/ \____/_/ \__,_/_/|_|
L a u n c h e r
Unofficial Astroneer Dedicated Server Launcher for Linux
v1.1.8
[13:45:34] [Launcher/INFO] Configuration file path: /opt/AstroTuxLauncher/launcher.toml
[13:45:34] [Launcher/INFO] Working directory: /opt/AstroTuxLauncher
[13:45:34] [DedicatedServer/INFO] NOTICE: Encryption is disabled. All players that want to join the Dedicated Server have to disable encryption on their clients too
[13:45:34] [Launcher/INFO] Installing Astroneer Dedicated Server...
[13:45:34] [Launcher/INFO] Updating Astroneer Dedicated Server app from Steam...
Updating app 728470 in 4:08.6
[13:49:43] [Steam/INFO] Finished updating app 728470 in 248.64 seconds
[13:49:43] [Launcher/INFO] Sucessfully updated Astroneer Dedicated Server to version 1.31.79.0
[13:49:43] [Launcher/INFO] Goodbye!
So what should I do next?
Keep in the venv and start with python3 AstroTuxLauncher.py start
?
If it also works outside of the venv, you don't need to start it inside, but if it only works inside because of weird package versions, then you have to start it inside the venv.
The Server run correctly.
(venv) /opt/AstroTuxLauncher# python3 AstroTuxLauncher.py start
___ __ ______
/ | _____/ /__________/_ __/_ ___ __
/ /| | / ___/ __/ ___/ __ \/ / / / / / |/_/
/ ___ |(__ ) /_/ / / /_/ / / / /_/ /> <
/_/ |_/____/\__/_/ \____/_/ \__,_/_/|_|
L a u n c h e r
Unofficial Astroneer Dedicated Server Launcher for Linux
v1.1.8
[14:27:27] [Launcher/INFO] Configuration file path: /opt/AstroTuxLauncher/launcher.toml
[14:27:27] [Launcher/INFO] Working directory: /opt/AstroTuxLauncher
[14:27:27] [DedicatedServer/INFO] NOTICE: Encryption is disabled. All players that want to join the Dedicated Server have to disable encryption on their clients too
[14:27:29] [Launcher/INFO] No update available, the Astroneer Dedicated Server is on the newest version
[14:27:31] [Launcher/INFO] Checking Network Configuration...
[14:27:35] [Launcher/INFO] Network configuration looks good
[14:27:45] [Launcher/INFO] RCON network configuration looks good
[14:27:45] [DedicatedServer/INFO] Preparing to start the Dedicated Server...
[14:27:48] [DedicatedServer/INFO] Started Dedicated Server process (v1.31.79.0). Waiting for registration...
Waiting for Dedicated Server to register with Playfab in 35.4s
[14:28:23] [DedicatedServer/INFO] Dedicated Server ready! Took 35.47 seconds to register
[14:28:23] [Notify/INFO] Server started!
[14:28:23] [Launcher/INFO] Enter 'help' to get help about command usage
shutdown
[14:28:46] [Notify/INFO] Server shutting down...
[14:28:49] [DedicatedServer/INFO] Dedicated Server shut down gracefully
[14:28:49] [Launcher/INFO] Goodbye!
BTW where should I put my local save to the server in order to make it run on the server?
The save folder is in the subfolder Astro/Saved/SaveGames
in the folder where the server files where downloaded to (by default AstroneerServer).
See the "Can I add my own saves?" section on https://astroneer.space/dedicatedserver/
Code:
p.s. sorry, it should be correct right now
Config:
Environments:
x86_64 Debian11 wine-8.0 (Debian 8.0~repack-4) python3.11 Python Packages:
Sorry if I did anything wrong, I don't understand python and TOML a lot.
Requirement:
Thanks!