Page 1 of 1

Can't Update...HELP!

Posted: Mon May 14, 2012 7:46 pm
by laughingbuddha
Erm, I have no idea what's happened but when I run asl -u I get this error:

Code: Select all

Checking for updates..
  Updating ASL: update failed                              [FAIL]

  Trying again with full debug information....
Error: Cannot find a valid baseurl for repo: plesk
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. </html>/
removing mirrorlist with no valid mirrors: /var/cache/yum/plesk/mirrorlist.txt
And also when I run yum update I get this error:

Code: Select all

Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. </html>/
removing mirrorlist with no valid mirrors: /var/cache/yum/plesk/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: plesk
I have no idea what has caused this, as it was updating fine last week.

Re: Can't Update...HELP!

Posted: Tue May 15, 2012 3:55 am
by breun
Error: Cannot find a valid baseurl for repo: plesk
Looks like you have a yum repository for Plesk configured which is using a base URL that's not valid.

Check your /etc/yum.repos.d/*.repo files (and /etc/yum.conf) for any repositories named 'plesk' and see if its settings are all up to date.

Plesk doesn't configure a yum repository itself AFAIK, so I guess you added this yourself. (Or does/did the atomic installer offer to add this at some at some point?)

Re: Can't Update...HELP!

Posted: Tue May 15, 2012 11:20 am
by laughingbuddha
Atomic must of, because I haven't got a clue how to do it myself. Nor do I have a clue what the base URL is supose to be.

But it was fine last week, so I have no idea why its suddenly erroring out.

What is Plesk's base URL, and why would that stop asl -u from working as well? Bearing in mind it isn't updating anything because of this.

Re: Can't Update...HELP!

Posted: Tue May 15, 2012 11:24 am
by laughingbuddha
Just checked the plesk.repo and it is using the atomic mirror list.

Code: Select all

[plesk]
name=Plesk Server Administrator
mirrorlist=http://www.atomicorp.com/mirrorlist/centos-$releasever-$basearch
gpgcheck=0
enabled=1

Re: Can't Update...HELP!

Posted: Tue May 15, 2012 12:58 pm
by scott
That URL is wrong, the plesk mirrorlist files live under /mirrorlist/plesk/<version>/<dist>

Re: Can't Update...HELP!

Posted: Tue May 15, 2012 1:10 pm
by laughingbuddha
Changed it to that, still no joy:

Code: Select all

Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. </html>/
removing mirrorlist with no valid mirrors: /var/cache/yum/plesk/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: plesk

Re: Can't Update...HELP!

Posted: Tue May 15, 2012 1:28 pm
by breun
What are the exact contents of your /etc/yum.repos.d/plesk.repo file?

You could temporarily disable the Plesk yum repository by setting enabled=0 in /etc/yum.repos.d/plesk.repo. That should at least cause asl -u to work again.

I personally don't use the Plesk yum repository, since it doesn't carry the latest 9.x and 10.x versions and Plesk micro updates are sadly not distributed as RPM packages, so for those you'll need to use the autoinstaller (or web interface) anyway.

Re: Can't Update...HELP!

Posted: Tue May 15, 2012 2:48 pm
by laughingbuddha
Mine is a Plesk 8.6 install, and because it is a production server I'm not likely going to upgrade the Plesk version. Mostly because it would break, as Plesk tends to do.

Here's the contents:

Code: Select all

[plesk]
name=Plesk Server Administrator
mirrorlist=http://www.atomicorp.com/mirrorlist/plesk/8.6/dist-rpm-CentOS-5-i386
gpgcheck=0
enabled=1

Re: Can't Update...HELP!

Posted: Tue May 15, 2012 2:56 pm
by breun
That URL redirects to http://www.atomicorp.com/index.php?opti ... cle&id=266 which returns HTTP 200 OK with a page saying "Oh No! We're sorry you couldnt find what you were looking for! Please try the search feature for this website which will help you find what you are looking for." I guess that page should actually return HTTP 404 Not Found, but either way http://www.atomicorp.com/mirrorlist/ple ... tOS-5-i386 currently doesn't seem to be a valid baseurl for the Plesk yum repository. I don't know if that's an error on your end or not. Scott can probably tell you.

Re: Can't Update...HELP!

Posted: Tue May 15, 2012 9:34 pm
by laughingbuddha
Support has come back saying delete the plesk.repo, but surely it was there until recently so why has it vanished now?

It seems a little strange that it has only now disapeared, does that mean you can't install Plesk using ASL anymore like I once did, which is possibly the reason the plesk.repo points to a atomicorp URL.

Re: Can't Update...HELP!

Posted: Wed May 16, 2012 1:40 pm
by scott
it hasnt been there for a long long time. Maybe more than a year, if ever. /mirrorlist/ is a top level dir for a lot of repo data, not just plesk. If there was a repo in there it was retired when that was expanded for other repo support (atomic, atomic-testing, asl soon, etc).

Re: Can't Update...HELP!

Posted: Wed May 16, 2012 8:17 pm
by laughingbuddha
Far enough, I bow to your greatness :)