- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-11-2025 04:00 AM
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
[...]
08-16-2025 04:51 AM
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.
08-16-2025 10:53 AM
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.
08-17-2025 09:59 AM
This is what worked for me ...
sudo apt update
sudo apt upgrade
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
cd /tmp
sudo ./initSetup_v2.0.sh
sudo systemctl stop firewalld
sudo systemctl disable firewalld
08-17-2025 10:14 AM
an alternative method that worked for me was to install Ubuntu 22.04 and follow these instructions: https://github.com/utahman3431/pan-expedition-installer
09-25-2025 05:02 AM
Thank you. This solution @Jeff-HSC has worked also for me.
Now I am able to open the GUI, but I am not able to log in there.
I tried the default credentials admin/paloalto but also expedition/paloalto. Both do not work.
I found corresponding posts in the forum, according to which full drives can be the cause.
I can see multiple "/dev/loop#/" drives, which have 100% use. I also found out, that these drives are snap packets, but I have no experiences with that.
Can this be a problem and any ideas how to fix this / how to log in?
expedition@expedition1:~$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
udev 4002840 0 4002840 0% /dev
tmpfs 810428 1628 808800 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 19430032 9247460 9170248 51% /
tmpfs 4052124 0 4052124 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 4052124 0 4052124 0% /sys/fs/cgroup
/dev/loop3 94080 94080 0 100% /snap/lxd/24061
/dev/loop0 64896 64896 0 100% /snap/core20/1828
/dev/loop1 65408 65408 0 100% /snap/core20/2599
/dev/loop4 50560 50560 0 100% /snap/snapd/24792
/dev/loop5 52096 52096 0 100% /snap/snapd/25202
/dev/loop2 94208 94208 0 100% /snap/lxd/32662
/dev/sda2 1992552 116340 1754972 7% /boot
tmpfs 810424 0 810424 0% /run/user/1000
expedition@expedition1:~$ ^C
expedition@expedition1:~$ snap list --all
Name Version Rev Tracking Publisher Notes
core20 20230207 1828 latest/stable canonical✓ base,disabled
core20 20250526 2599 latest/stable canonical✓ base
lxd 4.0.9-a29c6f1 24061 4.0/stable/… canonical✓ disabled
lxd 4.0.10-d342340 32662 4.0/stable/… canonical✓ -
snapd 2.70 24792 latest/stable canonical✓ snapd,disabled
snapd 2.71 25202 latest/stable canonical✓ snapd
expedition@expedition1:~$
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!