Bareos 17 for Raspbian

126 views
Skip to first unread message

Rafael Castellar das Neves

unread,
Jan 25, 2018, 6:09:19 AM1/25/18
to bareos-users
Hi there!

Does anyone know when Bareos 17 will be released for other platforms, specifically Raspbian (Debian 9)? I'm running Bareos on my raspberry and the clients are being updated to 17. Webui was updated to 17 and does not work properly anymore.

Thanks!

Rafael

Jörg Woll

unread,
Apr 15, 2018, 4:46:56 AM4/15/18
to bareos-users

for CentOS7 on RasPI, i can send your the packages of version 17.2.5.
Sorry but not for Raspbian. I only used RedHat

Rafael Castellar das Neves

unread,
Apr 15, 2018, 7:16:06 AM4/15/18
to bareos-users
Not a problem, Jörg... I will find a way...

Danke!

TEMP TEMP

unread,
Aug 27, 2018, 2:43:39 AM8/27/18
to bareos-users
Hi Rafael

did you get to install bareos version 17.2 into raspian stretch 9?
my version is still stop to 6.24.. and therefore I'm not able to install and work properly webui 17.2...

thx
vincenzo

Andreas Haase

unread,
Aug 28, 2018, 2:16:19 AM8/28/18
to TEMP TEMP, bareos...@googlegroups.com
Good morning,

please do not reply to me only, as others on the list may also be
interested in the communication.


>
> I was able to build the package (despite warnings).
> Now How can I install it?

Make sure, you have a valid backup of your installation. Then check,
which bareos packages are installed on your system:

  dpkg -l | grep bareos

For each package install the corresponding new one:

  dpkg -i <package1> <package2> ...

If you install all packages in one statement, you make sure to get no
version conflicts. And of course after installation you should restart
the daemons and check the function of your installation carefully.

Bye,
Andreas

TEMP TEMP

unread,
Aug 29, 2018, 5:26:59 AM8/29/18
to Andreas Haase, bareos...@googlegroups.com
Hi Andreas

perfect!! worked fine.. installed.
I was also able to install webui 17.. and it works fine even if very slow to logon..
Any suggestion how to improve speedness?

thx
vincenzo

Rafael Castellar das Neves

unread,
Aug 30, 2018, 6:51:32 PM8/30/18
to tempo...@gmail.com, bareos...@googlegroups.com
Ciao Vincenzo! Sì, questo è il che io ho faccio. It was taken from this groups, plus somethings I did:

sudo apt-get install libmysql++-dev libacl1-dev libwrap0-dev git libjansson4 libjansson-dev 

 

git clone https://github.com/bareos/bareos.git  
cd bareos  
 
optional 
# switch to the latest stable branch  
# (which is based on autoconfnot cmake 
git checkout -b bareos-17.2 origin/bareos-17.2  
 
changelog file is required (and normally generated by OBS)  

 

Edit platforms/packabgin/bareos.changes and add tue following line at the top: 

bareos (17.2.4-1) unstableurgency=low 

 
cp -a platforms/packaging/bareos.changes debian/changelog  
 
check for required packages (install the dependencies found by the following command)  
dpkg-checkbuilddeps  
 
fakeroot debian/rules binary  

 

 

sudo dpkg -i  bareos_17.2.4-1_armhf.deb bareos-bconsole_17.2.4-1_armhf.deb bareos-client_17.2.4-1_armhf.deb bareos-common_17.2.4-1_armhf.deb bareos-database-common_17.2.4-1_armhf.deb bareos-database-mysql_17.2.4-1_armhf.deb bareos-database-tools_17.2.4-1_armhf.deb bareos-dbg_17.2.4-1_armhf.deb bareos-devel_17.2.4-1_armhf.deb bareos-director_17.2.4-1_armhf.deb bareos-director-python-plugin_17.2.4-1_armhf.deb bareos-filedaemon_17.2.4-1_armhf.deb bareos-filedaemon-python-plugin_17.2.4-1_armhf.deb bareos-storage_17.2.4-1_armhf.deb bareos-storage-fifo_17.2.4-1_armhf.deb bareos-storage-python-plugin_17.2.4-1_armhf.deb bareos-storage-tape_17.2.4-1_armhf.deb bareos-tools_17.2.4-1_armhf.deb 


Buona fortuna!


--
You received this message because you are subscribed to a topic in the Google Groups "bareos-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bareos-users/kEbJBUT4ebU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bareos-users...@googlegroups.com.
To post to this group, send email to bareos...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

TEMP TEMP

unread,
Aug 31, 2018, 2:23:00 AM8/31/18
to bareos-users
Hi Rafael

gracias para la info.

With the help of Andreas, these are the steps I did:
1. Install postresql
2. download from github the latest stable baresos distribution for debian
3. create a changelog in /core/debian
4. install all buildsystem and dev-packages
5. run dpkg-buildpackage -b from /core
6. install gawk libjansson4 liblzo2-2
7. then installed the packages;
sudo dpkg -i bareos_17.2.7-1_armhf.deb bareos-bconsole_17.2.7-1_armhf.deb bareos-client_17.2.7-1_armhf.deb bareos-common_17.2.7-1_armhf.deb bareos-database-common_17.2.7-1_armhf.deb bareos-database-postgresql_17.2.7-1_armhf.deb bareos-database-tools_17.2.7-1_armhf.deb bareos-director_17.2.7-1_armhf.deb bareos-filedaemon_17.2.7-1_armhf.deb bareos-storage_17.2.7-1_armhf.deb bareos-traymonitor_17.2.7-1_armhf.deb

8. and as I found a dependency issue i fixed it with sudo apt --fix-broken install and retried to install packages from point 7.

And now everything seems to run properly.. :-)

ciao
V.

Rafael Castellar das Neves

unread,
Mar 27, 2019, 9:30:57 PM3/27/19
to bareos-users

Hi guys! Does anyone here able to build Bareos 18.2 for raspbian? I'm trying those steps above, but got stuck. Could not use cmake, but I'm not sure how to use it.
Any help?

tks

Brock Palen

unread,
Mar 27, 2019, 9:56:10 PM3/27/19
to Rafael Castellar das Neves, bareos-users
It built for me. But I am only using the SD to do initial backups + sneaker net.

I followed the debian instructions here:
https://docs.bareos.org/developers/generaldevel.html#option-one-local-creation-of-debian-packages-from-the-cloned-sourcecode

Worked perfectly,


Brock Palen
1 (989) 277-6075
bro...@mlds-networks.com
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting
> --
> You received this message because you are subscribed to the Google Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users...@googlegroups.com.

Rafael Castellar das Neves

unread,
Mar 29, 2019, 7:30:09 PM3/29/19
to bareos-users
Tks Brock!

It work greatly!! Tks!

Rafael

Rafael Castellar das Neves

unread,
Mar 30, 2019, 8:22:36 AM3/30/19
to bareos-users
Now I have another situation, when trying to start any of the bareos model, I get this error:

"bareos-dir: error while loading shared libraries: libbareossql.so.18: cannot open shared object file: No such file or directory"

I followed the instructions, installed the .debs but get this error.
Any idea?

tks



Em quarta-feira, 27 de março de 2019 22:56:10 UTC-3, Brock Palen escreveu:
Reply all
Reply to author
Forward
0 new messages