Just re read this page and discovered --enable headless is for the client, i am working with the server. also solved previous libcurl error with
apt-get install libcurl3
./configure had no errors now, now trying
make
make install
/usr/local/sbin/start_urbackup_server
and it works, connected a couple of clients and backed up 600mb of files. Now i need to see about the proper way to set up.
ps I also installed fedora client from here
cd /etc/yum.repos.d/
sudo wget http://download.opensuse.org/repositories/home:kot1grun/Fedora_20/home:kot1grun.repo
sudo dnf install urbackup-client-nogui
sudo start_urbackup_client --no_daemon --loglevel debug
####compile the client-gui
but i couldn’t figure out the server gui for a bit so also compiled the client-gui, to do that i had to
follow this page
cd ~
mkdir urbackupinstall/
cd urbackupinstall/
wget http://hndl.urbackup.org/Client/1.4.9.1/urbackup-client-1.4.9.1.tar.gz
tar xzf urbackup-client-1.4.9.1.tar.gz
cd urbackup-client-1.4.9.1/
sudo dnf install wxGTK
to ./configure i had to install cryptopp-5.6.2-6.fc22.x86_64.rpm and wxGTK3*
PATH=/usr/libexec/wxGTK3/:$PATH
./configure
did most of the same on ubuntu 14.04 but couldn’t get the gui to run/show (there is a bug i believe) with the tray icon. the logs showed it couldn’t open the pw file so i tried this but no go, headless works though.
###Server available via ssh
> modify section 4.2
I already had some fast cgi stuff set up from owncloud so didnt need to modify the lighttpd.conf or add the fastcgi.conf files just do the link. my paths are below
#my lighttpd file
/opt/etc/lighttpd/lighttpd.conf
#my webroot
/opt/share/www
ln -s /tmp/mnt/sda1/entware.arm/debian/usr/local/var/urbackup/www urbackup
#my fastcgi.conf file
nano /opt/etc/lighttpd/conf.d/99-rtorrent-fastcgi-scgi-auth.conf
#restart lighttpd
/opt/etc/init.d/S80lighttpd restart
#ln line
ln -s /tmp/mnt/sda1/entware.arm/debian/usr/local/var/urbackup/www urbackup
access via
https://rt-ac68u/urbackup
But unfortunately i the body of the page never loads (just loading with spinner), everything else does (the banner across the top, and the about at the bottom).
That is odd, i did try the fastcgi conf modification but then i would get an error 451.
I can still log into owncloud so my lighttpd is working,?
###Autostart on boot
#ssh to router and edit startup script
nano /opt/etc/chroot-services.list
#add these two lines
start_urbackup_server
start_urbackup_client
#Copy scripts
debian enter
cp /usr/local/sbin/start_urbackup_* /etc/init.d/
#restart debian
exit
debian restart
##client on fedora autostart
create or edit this file
/etc/rc.d/rc.local
add this line
/usr/local/sbin/start_urbackup_client
When i tried the following line it didn’t work, also didn’t work trying the gnome gui startup with this line, i either get wrong password or can’t bind to port (cause it is already running) in log
/usr/local/bin/urbackup_client_gui
I tried to use systemctl to do it but didn’t get it finished. i edited this file and changed this line
sudo nano /usr/lib/systemd/system/urbackup-client.service
KillMode=process
At which point it would try to add it but still gave this error, with without the killmode=process, it gave worse errors