Raspberry Pi Installation

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
kmeta
Posts: 1
Joined: Thu Aug 31, 2017 5:27 am

Raspberry Pi Installation

Post by kmeta »

Hi,
On Raspberry Pi with the last OS "raspbian-stretch".
When installing from the terminal and using the following command

Code: Select all

apt-get install cacti
Installed version is cacti (0.8.8h+ds1-10)
I want to install the latest version 1.1.20.
Can any body give me guide how to install 1.1.20 from the terminal the same auto installation.
Thanks
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Raspberry Pi Installation

Post by paulgevers »

Since this week, cacti is in Debian stretch-backports.

https://backports.debian.org/stretch-ba ... /overview/
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
User avatar
MoonDogg
Posts: 32
Joined: Thu Mar 16, 2017 8:43 am

Re: Raspberry Pi Installation

Post by MoonDogg »

paulgevers wrote:Since this week, cacti is in Debian stretch-backports.

https://backports.debian.org/stretch-ba ... /overview/
Could this be used with Ubuntu 16.04?
Ubuntu 16.04.2 LTS
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Raspberry Pi Installation

Post by paulgevers »

MoonDogg wrote:
paulgevers wrote:Since this week, cacti is in Debian stretch-backports.

https://backports.debian.org/stretch-ba ... /overview/
Could this be used with Ubuntu 16.04?
I can't support Debian packages for Ubuntu before 17.04 because too many of the dependencies are missing or too old. Sorry. Ubuntu 17.04 packages can be obtained via my ppa. See my signature. If people are stuck on an older Ubuntu and still want cacti 1.*, I recommend installing cacti directly from this site, but be sure to remove all traces from the Ubuntu cacti package as they expect things in different places and I wouldn't know how to upgrade. See again my signature for more info.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
User avatar
MoonDogg
Posts: 32
Joined: Thu Mar 16, 2017 8:43 am

Re: Raspberry Pi Installation

Post by MoonDogg »

paulgevers wrote: I can't support Debian packages for Ubuntu before 17.04 because too many of the dependencies are missing or too old. Sorry. Ubuntu 17.04 packages can be obtained via my ppa. See my signature. If people are stuck on an older Ubuntu and still want cacti 1.*, I recommend installing cacti directly from this site, but be sure to remove all traces from the Ubuntu cacti package as they expect things in different places and I wouldn't know how to upgrade. See again my signature for more info.
Thanks for the info. Yeah I have been installing it from this site, without much issue, it would just me nice to do it from the package manager. I tend to stick to LTS on production servers. It's nice to see someone is making it easier to install. Thanks for you hard work. I might switch over to pure Debian 9, I just don't know if I want to go through the hassle of moving the DB etc. 8)
Ubuntu 16.04.2 LTS
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
kb83425
Posts: 7
Joined: Mon May 21, 2018 4:22 am
Location: India

Re: Raspberry Pi Installation

Post by kb83425 »

Does raspbian have latest version of cacti i.e 1.1.38 in its repositories which can be obtained with the command sudo apt-get install cacti ? At the moment, the latest version of raspbian only gets cacti 0.8.8H. What would be the procedure to setup cacti 1.1.38 on raspberry pi with raspbian if it is installed manually?
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Raspberry Pi Installation

Post by paulgevers »

kb83425 wrote:Does raspbian have latest version of cacti i.e 1.1.38 in its repositories which can be obtained with the command sudo apt-get install cacti ? At the moment, the latest version of raspbian only gets cacti 0.8.8H. What would be the procedure to setup cacti 1.1.38 on raspberry pi with raspbian if it is installed manually?
On which version of Debian or Ubuntu is this latest version of Raspbian based? Depending on the answer, you could you the package from Debian Backports (in my signature).
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
kb83425
Posts: 7
Joined: Mon May 21, 2018 4:22 am
Location: India

Re: Raspberry Pi Installation

Post by kb83425 »

It seems that latest version of raspbian is based on debian stretch.
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Raspberry Pi Installation

Post by paulgevers »

kb83425 wrote:It seems that latest version of raspbian is based on debian stretch.
Than using the Debian Backports should be fine.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Toxic
Posts: 1
Joined: Thu Sep 13, 2018 7:52 am

Re: Raspberry Pi Installation

Post by Toxic »

Hi there

I am new to the forum but was wanting the same thing to update to the latest (or newer) Cacti. I was running Raspbian on my Pi 3 with Cacti 0.8.8h.

This is how I upgraded for anyone needing to do the same.

Backup your database to start with. then:

Add to sources.list the following which holds a newer version (Version 1.1.38 at time of writing)

Code: Select all

deb http://ftp.debian.org/debian stretch-backports main
then run

Code: Select all

sudo apt-get update
I then ran into an issue but fixed it by running this command which I had googled for a solution

Code: Select all

sudo apt-cache policy roundcube
then you can install Cacti 1.1.38.

Code: Select all

sudo apt-get install -t stretch-backports cacti
For me this worked, and I hope this will help others.

Simon
mjs
Posts: 1
Joined: Sat Sep 15, 2018 5:17 pm

Re: Raspberry Pi Installation

Post by mjs »

I'm also stuck with Raspberry PI installation.

Running raspbian stretch lite - latest version.

I've added the backports repo, and then install using

Code: Select all

sudo apt-get install -t stretch-backports cacti 
but it gets stuck at

Code: Select all

populating database via sql...
Any idea's where to start looking to trouble shoot this?

(tried on 2 PI's both ver 3b, both have the same problem. it didn't seem to have this problem in a vm running the x86 version of raspbian desktop)
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Raspberry Pi Installation

Post by paulgevers »

mjs wrote: but it gets stuck at

Code: Select all

populating database via sql...
Any idea's where to start looking to trouble shoot this?
What happens after that message (please copy/paste the output)? That code can take a while, how long did you wait?

Paul
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest