arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
684 stars 144 forks source link

Backup of Ark World File Failing #905

Open thakyZ opened 6 years ago

thakyZ commented 6 years ago

I am getting an issue where the backup of any world file for my instances are failing. I have the saves in a Symlink to another directory. But I don't know if that's the issue. All the other files backup correctly. If there is anything I need to provide please let me know.

klightspeed commented 6 years ago

What error is the backup giving?

thakyZ commented 6 years ago

I cannot seem to find an error, either in the console output or in the script's logs img1 img2 Last image shows nothing is created in the log file after running the command

klightspeed commented 6 years ago

Is the map you're running named TheIsland?

Does TheIsland.ark exist in /home/arkserver/ARK1/ShooterGame/Saved/Island?

klightspeed commented 6 years ago

Commit 371da71 makes the ARK backup failure message more verbose.

thakyZ commented 6 years ago

Yes it does

Although /home/arkserver/ARK1/ShooterGame/Saved/Island is a symlink that points to /home/arkserver/ArkSaves/Island it still exists in the directory the script is checking. I am going to try to execute the commands that the script executes to see what may be the cause. img

thakyZ commented 6 years ago

Ok I don't know what happened, but I manually fixed the bug from #906 and now the backup of the Island world file works again.

arkserver@mail:~$ arkmanager backup
Running command 'backup' for instance 'island'
\033[0;39m Saved arks directory is /home/arkserver/ARK1/ShooterGame/Saved/Island
 Copying ARK world file (TheIsland)                                [ FAILED ]
 Copying ARK profile files
   76561198015962488.arkprofile                                    [   OK   ]
   76561198041370391.arkprofile                                    [   OK   ]
   76561198069857272.arkprofile                                    [   OK   ]
   76561198070926856.arkprofile                                    [   OK   ]
   76561198080930483.arkprofile                                    [   OK   ]
   76561198082254345.arkprofile                                    [   OK   ]
   76561198287052928.arkprofile                                    [   OK   ]
 Copying ARK tribe files
   1250887550.arktribe                                             [   OK   ]
 Copying ARK tribute tribe files
   76561198041370391.arktributetribe                               [   OK   ]
 Copying GameUserSettings.ini                                      [   OK   ]
 Copying Game.ini                                                  [   OK   ]
 Compressing Backup                                                [   OK   ]
 Created Backup:  2018-01-04_14.39.39.tar.bz2
arkserver@mail:~$ ls
ARK  ARK1  ARK2  ARK3  ARK4  ARK5  ARK-Backups  ark_manager_web  ark_manager_web-devel  ArkSaves  ARK-Staging  Steam  steamcmd
arkserver@mail:~$ cd /usr/local/bin
arkserver@mail:/usr/local/bin$ sudo wget https://raw.githubusercontent.com/FezVrasta/ark-server-tools/371da71c038c70cf8872578e0e6ae047e618ebf0/tools/arkmanager -O arkmanager
--2018-01-04 14:53:53--  https://raw.githubusercontent.com/FezVrasta/ark-server-tools/371da71c038c70cf8872578e0e6ae047e618ebf0/tools/arkmanager
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 106038 (104K) [text/plain]
Saving to: ‘arkmanager’

arkmanager                                                   100%[===========================================================================================================================================>] 103.55K  --.-KB/s    in 0.02s

2018-01-04 14:53:53 (5.50 MB/s) - ‘arkmanager’ saved [106038/106038]

arkserver@mail:/usr/local/bin$ nano arkmanager
arkserver@mail:/usr/local/bin$ sudo nano arkmanager
arkserver@mail:/usr/local/bin$ arkmanager backup
Running command 'backup' for instance 'island'
\033[0;39m Saved arks directory is /home/arkserver/ARK1/ShooterGame/Saved/Island
 Copying ARK world file (TheIsland)                                [   OK   ]
 Copying ARK profile files
   76561198015962488.arkprofile                                    [   OK   ]
   76561198041370391.arkprofile                                    [   OK   ]
   76561198069857272.arkprofile                                    [   OK   ]
   76561198070926856.arkprofile                                    [   OK   ]
   76561198080930483.arkprofile                                    [   OK   ]
   76561198082254345.arkprofile                                    [   OK   ]
   76561198287052928.arkprofile                                    [   OK   ]
 Copying ARK tribe files
   1250887550.arktribe                                             [   OK   ]
 Copying ARK tribute tribe files
   76561198041370391.arktributetribe                               [   OK   ]
 Copying GameUserSettings.ini                                      [   OK   ]
 Copying Game.ini                                                  [   OK   ]
 Compressing Backup                                                [   OK   ]
 Created Backup:  2018-01-04_14.56.56.tar.bz2