does anybody know how this error can happen?
2013-02-07 03:49:27: ERROR: Download err: TIMEOUT (1, 3) url=http://update1.urbackup.org/version.txt
The server is behind a http proxy. Proxy settings in bash are exported in /etc/bash.bashrc:
I couldn’t find an option to configure the proxy.
Thanks in advance.
February 7, 2013, 10:48pm
The proxy does not work with environment variables yet. Thanks for the heads up!
If you need to get autoupdate to work (This is the only thing that needs Internet) you could give the proxy and port as parameters to urbackup_srv
e.g. by --http_proxy xxx.xxx.xxx.xxx --http_proxy_port 3128
Thanks for the reply.
Autoupdate is by means for the daemon or rather for an updated client program/service?
Added the params to /etc/init.d/urbackup_srv, but the daemon seems not to understand these options:
File /etc/init.d/urbackup_srv saved
root@SV-Urbackup:/srv/mycfgs/etc# /etc/init.d/urbackup_srv restart
Restarting UrBackup server deamon: urbackup_srvstart_urbackup_server: unrecognized option '--http_proxy'
start_urbackup_server: unrecognized option '--http_proxy_port'
Here my changes in /etc/init.d/urbackup_srv.
Underneath the variable definitions:
Changed call to daemon args:
DAEMON_ARGS="--fastcgi_port $FASTCGI_PORT --logfile $LOGFILE --loglevel $LOGLEVEL --http_port $HTTP_PORT $SQLITE_TMPDIR --http_proxy $HTTP_PROXY --http_proxy_port $HTTP_PROXY_PORT"
My urbackup_srv version installed on a debian system installed via urbackup-server_1.0-1_amd64.deb:
CServer version 0.1.0.0
Linux SV-Urbackup 2.6.32-17-pve #1 SMP Wed Nov 28 07:15:55 CET 2012 x86_64 GNU/Linux
February 8, 2013, 6:11pm
Yes, sorry you need to add those parameters to DAEMON_ARGS in /usr/sbin/start_urbackup_server
It downloads new client versions (there isn’t one for 1.0 yet) from
http://update1.urbackup.org/ and then updates the clients. There is not autoupdate for the server. You can also manually download all files from the previous address and put them into /var/urbackup – once there is a new version – to update the clients.
Ok this did the job, thanks.
Now it seems that there is no such file:
2013-02-11 08:04:10: ERROR: Download err: FILE_DOESNT_EXIST (1, 4) url=http://update1.urbackup.org/version.txt
February 11, 2013, 7:45pm
This error occurs if the server returns anything other than “200 OK” e.g. error code 404.
I haven’t tested yet if the download code works with a proxy. I’ll test and repair it. Ticket:
I downloaded the latest exe to this location but did not see any client updates. The test client is running exe version 1.0 and was rebooted twice. Am I missing something?
ls -al /var/urbackup/UrBackup\ Client\ 1.1.1-1.exe
-rw-r--r-- 1 urbackup urbackup 14278371 Feb 17 20:31 /var/urbackup/UrBackup Client 1.1.1-1.exe
Nevermind, after reading the documentation in a whole I found the answer:
After a restart of the client the new version was installed.