Installing brewpi legacy

Hi
I know I’m asking about outdated details here, but my oldest brewpub setup just crashed its sad card, and it is to far to move this fridge to my brewblox setup.

I’m following the legacy documentation, and I can’t even get started, it seems like I doens not get any data from github.

pi@Brewpilegacy:~ $ git clone https://github.com/BrewPi/brewpi-tools.git ~/brewpi-tools
fatal: destination path '/home/pi/brewpi-tools' already exists and is not an empty directory.
pi@Brewpilegacy:~ $ sudo ~/brewpi-tools/install.sh                              
Checking for Internet connection...
Success!


Checking whether this script is up to date...

/home/pi/brewpi-tools is up-to-date.

***** Installing/updating required packages... *****

Reading package lists...
Building dependency tree...
Reading state information...
Package php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-cli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libapache2-mod-php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-cgi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libapache2-mod-php5' has no installation candidate
E: Package 'php5-cli' has no installation candidate
E: Package 'php5-common' has no installation candidate
E: Package 'php5-cgi' has no installation candidate
E: Package 'php5' has no installation candidate



*** ERROR ERROR ERROR ERROR ERROR ***
----------------------------------
See above lines for error message
Setup NOT completed

any advice possible??

By the looks of it, php5 is no longer available from default repositories on apt.

This article suggests there is still a ppa carrying it. Install the ppa, then re-run the install script.

Try BrewPi remix for an easier to install version of the old stack. It’s not made by us, but it is still maintained a bit to be easy to install.

Thankyou guy’s…
By some mirical my old SD card booted up again so it’s still running…
Better get it connected to the brewblox setup asap.

I have instructions to set up PHP 5 and install legacy brewpi on raspbian-stretch-lite. If you ever need them, let me know.