Trunk Update Failing
-
I am thinking I am not getting that far:
-
Just for clarity how do you have internet access on this box? Does it have direct internet access or is this box sitting behind a proxy server of some sort?
-
Direct access I can wget from other sites without problems
-
Sorry for the 20 questions,
What OS and version is this on?
Can you try to use subversion to checkout the current trunk?It sounds like the installer script can’t reach the correct repositories. Have you don’t a OS update apt-get/yum ??
-
20 questions are no problem.
Ubuntu 14.04.3. Already did an apt-get update a few times ot make sure I had everything.
I am currently trying to use subversion but it wasn’t working so I tried git also an just downloaded to different folder to see if that would work and no dice.
-
Just tried from another server I have in another state and same problem. Was going to setup a node over the WAN to get another one of my office running smoothly.
Loving when the internet is messing with me. Wanna punch it in the endbaby. (Yes that is spelled like I want it)
-
Interesting, (just questioning). You say you have direct internet access yet svn did not work?
SVN should work right out of the box without any changes, if you had a proxy server between your FOG server and the internet then you need to make a few adjustments. Something is up here. The first thing that the update does is tries (at this point) is to talk to your distribution repository server(s). -
SVN is working I think I mistyped. I can download form SVN but when I launch ./installfog.sh it fails trying to add Repository. It does this on the download of GIT or SVN.
-
I guess I’m going to have to defer to one of the developers on this one. It almost sounds like there is a bad setting in the .fogsettings file because its trying to use a resource that it doesn’t have access to.
Was this a fully functional FOG server at any time?
-
Yes, just imaged 4 machines during this forum posts. I didnt break it since it was never able to update.
-
I just saw an updated trunk go up but still no dice. Dang I was hoping for a win today, I need one…
-
I’m just pecking in the dark here. But looking at the installer script (actually a called subfunction). This is what is going on in that area.
add-apt-repository -y ppa:ondrej/php5-5.6 if [ "$?" != 0 ]; then apt-get update apt-get -yq install python-software-properties add-apt-repository -y ppa:ondrej/php5-5.6 fi
I might suggest that you try the apt commands one at a time and see what fails. Again I’m just guessing here, these commands will not do anything destructive.
-
I have a snapshot so I will give it a try worse case I roll back. Let give it a try, I was looking through the install.sh to see if I could find something also, lol.
-
Yeah that has to be it:
root@CINDSV10011:/home/ladmin# add-apt-repository -y ppa:ondrej/php5-5.6
Cannot add PPA: ‘ppa:ondrej/php5-5.6’.
Please check that the PPA name or format is correct. -
@Psycholiquid So what’s the correct format? A quick google search yeilded this: http://serverfault.com/questions/666754/ppaondrej-php5-5-6-on-ubuntu
-
I’m not sure, but the site that is the landing for the PPA is showing just fine.
root@CINDSV10011:/home/ladmin# apt-add-repository ppa:ondrej/php5-5.6 -y
Cannot add PPA: ‘ppa:ondrej/php5-5.6’.
Please check that the PPA name or format is correct.The change in format didnt make a difference. But even if I manually put it in there it wont allow the installer to work since it will still be trying to add it its own way correct?
-
You followed the second answer on that page?
The proper way is to enable UTF-8 support in your terminal.
First check your locales:
locale -a
Then, install an UTF-8 locale, for en_US, the example as follows:
locale-gen en_US.UTF-8
Then you need to export it:
export LANG=en_US.UTF-8
Then the add-apt-repository command will work okay.
If this still doesn’t still work, try using this line:
LC_ALL=en_US.UTF-8 add-apt-repository -y ppa:ondrej/php5-5.6 -
for clarity I found those commands in <fog_trunk>/lib/common/functions.sh In case you want to update your way to an answer.
-
@Wayne-Workman said:
@Psycholiquid So what’s the correct format? A quick google search yeilded this: http://serverfault.com/questions/666754/ppaondrej-php5-5-6-on-ubuntu
I wasn’t trying to be a smart ass when I posted that I was just copying what outputted to my screen.
I tried the URL you suggested and get the following:```
root@CINDSV10011:/home/ladmin# locale -a C C.UTF-8 en_AG en_AG.utf8 en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8 en_GB.utf8 en_HK.utf8 en_IE.utf8 en_IN en_IN.utf8 en_NG en_NG.utf8 en_NZ.utf8 en_PH.utf8 en_SG.utf8 en_US.utf8 en_ZA.utf8 en_ZM en_ZM.utf8 en_ZW.utf8 POSIX root@CINDSV10011:/home/ladmin# locale-gen en_US.UTF-8 Generating locales... en_US.UTF-8... up-to-date Generation complete. root@CINDSV10011:/home/ladmin# export LANG=en_US.UTF-8 root@CINDSV10011:/home/ladmin# dd-apt-repository -y ppa:ondrej/php5-5.6 No command 'dd-apt-repository' found, did you mean: Command 'add-apt-repository' from package 'software-properties-common' (main) dd-apt-repository: command not found root@CINDSV10011:/home/ladmin# add-apt-repository -y ppa:ondrej/php5-5.6 Cannot add PPA: 'ppa:ondrej/php5-5.6'. Please check that the PPA name or format is correct. root@CINDSV10011:/home/ladmin# LC_ALL=en_US.UTF-8 add-apt-repository -y ppa:ondrej/php5-5.6 Cannot add PPA: 'ppa:ondrej/php5-5.6'. Please check that the PPA name or format is correct. root@CINDSV10011:/home/ladmin# locale -a C C.UTF-8 en_AG en_AG.utf8 en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8 en_GB.utf8 en_HK.utf8 en_IE.utf8 en_IN en_IN.utf8 en_NG en_NG.utf8 en_NZ.utf8 en_PH.utf8 en_SG.utf8 en_US.utf8 en_ZA.utf8 en_ZM en_ZM.utf8 en_ZW.utf8 POSIX
-
@Psycholiquid Are you behind a proxy by chance?