
7 Update
Dedrone
20
IM-Inst-DT2536en
7.3
Update a DroneTracker System Offline
Requirements:
□
Basic linux knowledge
□
Update files on a media ([apt-cacher].tgz and [DT Server Update].tgz)
□
Access to the DroneTracker Server as system administrator
□
Running and configured APT caching proxy (apt-cacher-ng) on the DroneTracker Server
(for detailed information see Readme
Server Installation
for the DroneTracker Server)
Update offline DroneTracker Server
1
Copy the tgz-files to your DroneTracker Server.
2
Verify that the string ‘
Offlinemode 1
’
is included in file
/etc/apt-cacher-ng/acng.conf
3
Stop the service
apt-cacher-ng
:
root$> service apt-cacher-ng stop
4
Clean actual software repository:
root$> rm -r /var/cache/apt-cacher-ng/*
5
Unpack the tarball as user root and set correct permissions:
root$> tar xzf the_update_repository.tgz -C /var/cache/apt-cacher-ng/
root$> chown -R apt-cacher-ng:apt-cacher-ng /var/cache/apt-cacher-ng/
6
Start the service
apt-cacher-ng
:
root$> service apt-cacher-ng start
7
On the server, unpack the file as dedrone user with the command:
tar xzf dedrone_server-v[version].tgz
8
Run
update.sh
from the tgz-file as dedrone user (adjust directory as required)
dedrone$> dedrone_server-vXXXX/update.sh