upgrading fog on a standalone network
-
@fredlwal What certs are you talking about? No certs are needed to clone the git repository.
-
@Quazz CA certs
-
@fredlwal I’m guessing git is complaining?
Try doing
git config --global http.sslVerify false
Then try cloning the repository again.
-
@Quazz @Wayne-Workman that part worked but now the repository failed during installation , here is a screen shot.
https://goo.gl/photos/Pi32rSCFdQstQcPw8 -
@fredlwal Please run
apt-get install software-properties-common
And try again.
If it still doesn’t work, please post the error-log in the your git folder/bin/error_logs/ here
-
@fredlwal Sounds like you have a proxy or web filter that is doing some sort of wild DNS redirecting or web caching. others have had this issue in the past with the same two errors you just described.
-
@Quazz for some reason I don’t see error_logs folder, where else could I look?
-
@fredlwal Within your
~/project/bin
directory you should haveerror_logs
dir containing log files:~/project/bin/error_logs/...
-
@Sebastian-Roth Assuming the OP used git to replicate the fogproject repository as well as followed the instructions from the wiki page. Would the proper path be /opt/fogproject/bin/error_logs to find the log files?
-
According to the screenshot the OP posted…
-
@Sebastian-Roth said in upgrading fog on a standalone network:
According to the screenshot the OP posted…
mea culpa
-
/usr/bin/lsb_release
Reading package lists…
Building dependency tree…
Reading state information…
software-properties-common is already the newest version.
python-software-properties is already the newest version.
The following packages were automatically installed and are no longer required:
libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 541 not upgraded.
3 Feb 13:08:31 ntpdate[5150]: adjust time server 108.61.73.244 offset 0.188048 sec
Cannot add PPA: ‘ppa:ondrej/php’.
Please check that the PPA name or format is correct.
Cannot add PPA: ‘ppa:ondrej/apache2’.
Please check that the PPA name or format is correct.
Ign http://us.archive.ubuntu.com trusty InRelease
Get:1 http://us.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Ign http://extras.ubuntu.com trusty InRelease
Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://us.archive.ubuntu.com trusty-backports InRelease
Hit http://us.archive.ubuntu.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty Release
Get:3 http://us.archive.ubuntu.com trusty-updates/main Sources [390 kB]
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://extras.ubuntu.com trusty/main i386 Packages
Get:4 http://us.archive.ubuntu.com trusty-updates/restricted Sources [5,911 B]
Get:5 http://us.archive.ubuntu.com trusty-updates/universe Sources [173 kB]
Get:6 http://security.ubuntu.com trusty-security/main Sources [124 kB]
Get:7 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [7,535 B]
Get:8 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [904 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Ign http://extras.ubuntu.com trusty/main Translation-en
Get:9 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [16.2 kB]
Get:10 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [398 kB]
Get:11 http://security.ubuntu.com trusty-security/restricted Sources [4,637 B]
Get:12 http://security.ubuntu.com trusty-security/universe Sources [48.6 kB]
Get:13 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [14.4 kB]
Get:14 http://us.archive.ubuntu.com trusty-updates/main Translation-en [465 kB]
Get:15 http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en [7,340 B]
Get:16 http://security.ubuntu.com trusty-security/multiverse Sources [3,208 B]
Get:17 http://us.archive.ubuntu.com trusty-updates/restricted Translation-en [3,847 B]
Get:18 http://us.archive.ubuntu.com trusty-updates/universe Translation-en [210 kB]
Get:19 http://security.ubuntu.com trusty-security/main i386 Packages [539 kB]
Hit http://us.archive.ubuntu.com trusty-backports/main Sources
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://us.archive.ubuntu.com trusty Release
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Hit http://us.archive.ubuntu.com trusty/universe Sources
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty/main Translation-en
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty/universe Translation-en
Get:20 http://security.ubuntu.com trusty-security/restricted i386 Packages [13.1 kB]
Get:21 http://security.ubuntu.com trusty-security/universe i386 Packages [151 kB]
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Get:22 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4,284 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Fetched 3,615 kB in 12s (286 kB/s)
Reading package lists…
Reading package lists…
Building dependency tree…
Reading state information…
ntpdate is already the newest version.
python-software-properties is already the newest version.
The following packages were automatically installed and are no longer required:
libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 541 not upgraded.
3 Feb 13:09:00 ntpdate[5190]: adjust time server 171.66.97.126 offset 0.175315 sec
Generating locales…
en_US.UTF-8… up-to-date
Generation complete.
Cannot add PPA: ‘ppa:ondrej/php’.
Please check that the PPA name or format is correct.
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://security.ubuntu.com trusty-security/restricted Sources
Ign http://us.archive.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://us.archive.ubuntu.com trusty-updates InRelease
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports InRelease
Hit http://us.archive.ubuntu.com trusty Release.gpg
Hit http://us.archive.ubuntu.com trusty-updates/main Sources
Hit http://us.archive.ubuntu.com trusty-updates/restricted Sources
Ign http://extras.ubuntu.com trusty InRelease
Hit http://us.archive.ubuntu.com trusty-updates/universe Sources
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://us.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://us.archive.ubuntu.com trusty Release
Hit http://us.archive.ubuntu.com trusty-backports/main Sources
Hit http://extras.ubuntu.com trusty Release
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Hit http://us.archive.ubuntu.com trusty/universe Sources
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty/main Translation-en
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty/universe Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Reading package lists…
Reading package lists…
Building dependency tree…
Reading state information…
ntpdate is already the newest version.
software-properties-common is already the newest version.
python-software-properties is already the newest version.
The following packages were automatically installed and are no longer required:
libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 541 not upgraded.
3 Feb 13:09:30 ntpdate[5324]: adjust time server 171.66.97.126 offset 0.161436 sec
Generating locales…
en_US.UTF-8… up-to-date
Generation complete.
Cannot add PPA: ‘ppa:ondrej/php’.
Please check that the PPA name or format is correct.
root@fogsrv1:~/fogproject/bin/error_logs# -
Here is another log , I just took the picture since it was short.
-
@fredlwal This is the error
Cannot add PPA: ‘ppa:ondrej/php’.
that is the root of your issue.I just remember a thread about this issue, this past week. It was related to some non-LTS versions of ubuntu not having this package available.
@fredlwal What version of Debian/Ubuntu are you using?
@Developers I remember seeing a thread on this, but I can’t seem to find it or the answer, sorry.
-
-
@Junkhacker said in upgrading fog on a standalone network:
@george1421 this one? https://forums.fogproject.org/topic/9396/stopping-web-service-failed/8?page=1
I Sir do acknowledge your Google-Fu is much stronger than mine. Thank you!
-
@george1421 Ubuntu 14.0.4
-
@Wayne-Workman said in upgrading fog on a standalone network:
@fredlwal Sounds like you have a proxy or web filter that is doing some sort of wild DNS redirecting or web caching. others have had this issue in the past with the same two errors you just described.
Again, going to say it’s a webfilter / proxy / firewall issue.
Try adding it manually:
sudo add-apt-repository ppa:ondrej/php sudo apt-get update
When this fails, try to curl the hosting site:
curl https://launchpad.net/~ondrej/+archive/ubuntu/php
-
@Wayne-Workman When i typed in the first part it does nothing but when i type in the second part curl I get this message
https://goo.gl/photos/VMnzvwVcqWEqotSW7 -
@fredlwal Well then, there is a self-signed certificate in the chain somewhere as the error says.
What happens when you simply try to visit:
https://launchpad.net/~ondrej/+archive/ubuntu/phpDoes your browser warn you about certificate errors? When I visit this, I get zero warnings or errors.