Expedition installation failed - apache2/php7 not installed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Expedition installation failed - apache2/php7 not installed

L0 Member

Hello all,


to migrate from Fortinet to Palo Alto, I would like to use the Expedition Tool. I have completed the expedition installation on a virtual machine according to the installation guide, but the tool does not work. The GUI is not available. After analyzing the CLI output from the installation, I could see lots of warnings and errors, and that there are some parts not installed correctly. At least php7 and/or apache2 will not be installed. The installation was done on a clean Ubuntu 20.04.6 LTS server, according to the admin guide. VM was set up with 40G drive, 8G RAM and 4 cores and functional internet connection.


Any ideas, how to fix this problem?

Below are some snippets from the CLI output after executing the installation script "sudo ./initSetup*.sh"

Appended you find the whole log. Errors, Warning, not found, etc are marked in red.


Thank you in advance

kind regards
Hakan

 

[...]
sed: can't read /etc/php/7.0/apache2/php.ini: No such file or directory
sed: can't read /etc/php/7.0/apache2/php.ini: No such file or directory
sed: can't read /etc/php/7.0/apache2/php.ini: No such file or directory
sed: can't read /etc/php/7.0/cli/php.ini: No such file or directory
sed: can't read /etc/php/7.0/cli/php.ini: No such file or directory
sed: can't read /etc/php/7.0/cli/php.ini: No such file or directory
Failed to restart apache2.service: Unit apache2.service not found.

[...]

E: Unable to locate package php7.0-radius
E: Couldn't find any package by glob 'php7.0-radius'
E: Couldn't find any package by regex 'php7.0-radius'
E: Unable to locate package php7.0-bcmath

[...]

 

5 REPLIES 5

L1 Bithead

I'm having the same issue, can't install php 7.0.  If you do a "php -v" what output do you get?  I think expedition ONLY supports php 7.0.

L1 Bithead

Ok for giggles, I updated my ubuntu LTS VM to 22.04 and I ran the script and lo and behold, apache2/php7.0 worked fine.  I was able to get to the login screen but due to some php/sql issue I was not able to login.  I think we are doomed because I think Ondrej recently stopped supporting 20.04 for his php repository.  you can probably try to build it from scratch but you would need to build all the php extensions from scratch too.  I attempted it but failed miserably.  this is the end for expedition in 2025.  RIP.

L0 Member

This is what worked for me ...

 

  • Install Ubuntu 20.04 following the instruction guide.
  • Login to the "expedition" account" ( Password: paloalto ).
  • Download and copy "initSetup_v2.0.sh" to "/home/expedition/tmp".
  • Update Ubuntu.

 

sudo apt update
sudo apt upgrade

 

  • Install Apache2, PHP ( Version 7.4.3-4ubuntu2.29 ), and the PHP modules.

 

sudo apt install apache2
sudo apt install php libapache2-mod-php
sudo apt install php-bcmath php-mbstring php-gd php-soap php-zip php-xml php-opcache php-curl php-bz2 php-mcrypt php-ldap php-radius php-mysql

 

  • Install Expedition.

 

cd /tmp
sudo ./initSetup_v2.0.sh

 

  • Stop and disable the firewall service.

 

sudo systemctl stop firewalld
sudo systemctl disable firewalld

 

 

L1 Bithead

an alternative method that worked for me was to install Ubuntu 22.04 and follow these instructions: https://github.com/utahman3431/pan-expedition-installer

L0 Member

Hello all, thank you for your replies 👍I will examine the suggestions and will give you feedback in the next days, as soon as I got the results.

  • 861 Views
  • 5 replies
  • 1 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!