Update plugin-list: Error downloading index from 'http://gallery.menalto.com/repository/released/index'

HaveFun
HaveFun's picture

Joined: 2003-10-21
Posts: 23
Posted: Thu, 2007-06-14 11:54

Hi!

I ran into another issue:

I wanted to download more plugins, so i tried (free translated from german GUI):
plugins / Tab "More gallery modules" / Button: "Update plugin-list"

update-process seems to be OK, it goes from 0 to 100%, showing me each plugin currently loads.

But after I hit the CONMTINUE-Button, I get:

Quote:
Error downloading index from 'http://gallery.menalto.com/repository/released/index'.
Error downloading index from 'http://gallery.menalto.com/repository/experimental/index'.
Error downloading index from 'http://gallery.menalto.com/repository/community/index'.
Bitte vergewissern Sie sich, dass Sie über eine bestehende Internet Verbindung verfügen oder versuchen Sie es später noch einmal.

How to fix this?


Gallery-Version = 2.1.2 Kern 1.1.0.2
PHP-Version = 5.1.6-1 apache2handler
Webserver = Apache
Datenbank = mysql 4.1.11-Debian_4sarge3, lock.system=flock
Werkzeuge = ArchiveUpload, Exif, Getid3, NetPBM, SquareThumb, Thumbnail, Gd, ImageMagick
Beschleunigung = none, none
Betriebssystem = Linux plesk1.padberg-it.net 2.6.16-2-686-smp #1 SMP Wed Jun 21 18:08:31 UTC 2006 i686
Standard-Motiv = matrix
Sprache = de_DE
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8

btw: I have no root-access to the webserver.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-06-14 15:52

please clear your database cache.
site admin -> maintenance.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
HaveFun
HaveFun's picture

Joined: 2003-10-21
Posts: 23
Posted: Thu, 2007-06-14 18:18

Thanks for the tipp, but this didnt solve the problem.
No change!

 
artnpics

Joined: 2005-10-18
Posts: 39
Posted: Mon, 2007-08-06 19:12

Hello:

I am having this same issue. I was running svn 2.3, but installed last stable version instead. The issue seemed to happen after this install. I reused existing tables during install.

I ran integrity check and the results follow my system info. Please suggest a solution when you can, thanks in advance!

Gallery version = 2.2.2 core 1.2.0.4
PHP version = 4.3.11 cgi-fcgi
Webserver = Apache
Database = mysql 4.0.27-max-log, lock.system=flock
Toolkits =
Acceleration = none, none
Operating system = Linux p3slhjava05.shr.phx3.secureserver.net 2.4.21-47.0.1.ELsmp #1 SMP Fri Oct 13 17:56:20 EDT 2006 i686
Default theme = x_treme
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Rows in GalleryAccessMap table = 5
Rows in GalleryAccessSubscriberMap table = 2
Rows in GalleryUser table = 2
Rows in GalleryItem table = 1
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0

Integrity Check/Last Run Details:

Checked 7 entities
Orphaned data in table AccessMap with no row in AccessSubscriberMap table; ids: 8, 9
Orphaned data in table PluginParameterMap with no row in PluginMap table; ids: module/core

 
flami
flami's picture

Joined: 2007-07-01
Posts: 8
Posted: Wed, 2007-08-08 13:34

Hi Im running gallery2 in a chroot and cant get the plugin list when im inside the chroot , I added my /etc/resolve.conf , /etc/hosts, but it doesnt work .
I tried runing it without the chroot and it works. ( I have php-curl installed outside the chroot ) . Because I wanted to keep my setup really small There is a good chance that something is missing inside the chroot. Unfortunately I couldnt figure out what yet.
Tried it in my "bloat" testing chroot and there i get a 500 ,fcgi says:
[Wed Aug 08 15:16:31 2007] [error] [client 127.0.0.1] Premature end of script headers: index.php
[Wed Aug 08 15:19:38 2007] [warn] (110)Connection timed out: mod_fcgid: ap_pass_brigade failed in handle_request function

What does gallery want to use to download this list ?

 
birdie60

Joined: 2006-12-12
Posts: 32
Posted: Mon, 2007-08-27 04:45

Same problem here.

Additionally, after my trying to get the repository index, I get a message saying (german):
Der Status des Plugins ecard konnte nicht gelesen werden.

Is there a solution yet?
Regards,
birdie60

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2007-11-08 18:19

Can anybody still reproduce this problem? Thanks.

 
barthos

Joined: 2007-11-21
Posts: 1
Posted: Wed, 2007-11-21 02:18

New install: Just starting to setup. Seems to download. but after hitting continue get message:

Error downloading index from 'http://gallery.menalto.com/repository/released/index'.
Please make sure that your internet connection is set up properly or try again later.

Last Run Details:

Gallery version = 2.2.3 core 1.2.0.5
PHP version = 4.4.6 apache2handler
Webserver = Apache
Database = mysqlt 4.1.20, lock.system=flock
Toolkits = ArchiveUpload, Exif, NetPBM, Gd
Acceleration = none, none
Operating system = Linux hercules.pjmco.ca 2.6.18.1.dn1.p4 #3 SMP Tue Oct 31 17:40:48 EST 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)
Rows in GalleryAccessMap table = 7
Rows in GalleryAccessSubscriberMap table = 1
Rows in GalleryUser table = 2
Rows in GalleryItem table = 1
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0

 
tracey_nz

Joined: 2007-11-29
Posts: 1
Posted: Thu, 2007-11-29 22:28

Hi there

I was also having issues with a clean install...

Clearing the Cache worked for me thank you Valiant xx

 
talmdal

Joined: 2006-12-06
Posts: 358
Posted: Fri, 2008-01-04 20:50

If any one gets this error in the future, could you please in addition to the standard problem information provide the time that the error occurred.

Thanks

 
szym

Joined: 2008-01-17
Posts: 1
Posted: Thu, 2008-01-17 14:37

I get the same thing.
Time error occured: tried several times between 14:00 and 14:30 GMT Jan 17 2008

"New install: Just starting to setup. Seems to download. but after hitting continue get message:" -- thanks barthos

Error downloading index from 'http://gallery.menalto.com/repository/released/index'.
Error downloading index from 'http://gallery.menalto.com/repository/experimental/index'.
Error downloading index from 'http://gallery.menalto.com/repository/community/index'.
Please make sure that your internet connection is set up properly or try again later.

Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.2.3 cgi-fcgi
Webserver = Apache/1.3.37 (Unix) mod_throttle/3.1.2 FrontPage/5.0.2.2635 mod_psoft_traffic/0.2 mod_ssl/2.8.28 OpenSSL/0.9.8b
Database = mysqli 5.0.41-community-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Ffmpeg, Gd, ImageMagick
Acceleration = none, none
Operating system = Linux web301.opentransfer.com 2.6.18-8.1.8.el5 #1 SMP Tue Jul 10 06:50:22 EDT 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Rows in GalleryAccessMap table = 10
Rows in GalleryAccessSubscriberMap table = 2
Rows in GalleryUser table = 2
Rows in GalleryItem table = 2
Rows in GalleryAlbumItem table = 2
Rows in GalleryCacheMap table = 0

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-01-21 04:53

Time: 9:30 to 9:45 mountain (sunday Jan 20)
As soon as I got the error I surfed over with my client and did not receive a 404, but a list of text: see attached.
Tried the same error when trying to get the community repository as well.
deleting user sessions, loging out/in, and clear DB cache to no avail.

I will let this thread know if I can reproduce later today/tomorrow.

Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.6 (Fedora)
Database = mysqli 5.0.27, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd, NetPBM
Acceleration = none, none
Operating system = Linux 69-64-89-108.dedicated.abac.net 2.6.22.7-57.fc6 #1 SMP Fri Sep 21 19:26:56 EDT 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Rows in GalleryAccessMap table = 5
Rows in GalleryAccessSubscriberMap table = 2
Rows in GalleryUser table = 2
Rows in GalleryItem table = 2
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Zephyr82

Joined: 2006-10-02
Posts: 6
Posted: Mon, 2008-01-21 15:19

I am encountering the same issue since I first installed and tried Gallery2.0-RC1.
I think this hase something to do with a firewall behind which I am sitting.
Could someone please say me, which ports Gallery2 uses to get the repositories?!

The Version of Gallery2 I am using is 2.2.3. But I do not thnik that the version is the problem, because the Pluginrepository did never ever work for me.

I tried to get the repository January, 21st 2008 at 16:18 MET (middle european time).

---------------------------------
Gallery-Version = 2.2.3 Kern 1.2.0.5
PHP-Version = 5.2.0 apache2handler
Webserver = Apache/2.2.4 (Win32) PHP/5.2.0
Datenbank = mysqli 5.0.27-community-nt, lock.system=database
Werkzeuge = ImageMagick, NetPBM, Gd, Exif, Thumbnail, LinkItemToolkit, Ffmpeg
Beschleunigung = none, none
Betriebssystem = Windows NT BESSNER 5.1 build 2600
Standard-Motiv = matrix
gettext = Aktiviert
Sprache = de_DE
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/523.10.3 (KHTML, like Gecko) Version/3.0.4 Safari/523.10
Zeilen in der GalleryAccessMap Tabelle = 367
Zeilen in der GalleryAccessSubscriberMap Tabelle = 13550
Zeilen in der GalleryUser Tabelle = 24
Zeilen in der GalleryItem Tabelle = 13547
Zeilen in der GalleryAlbumItem Tabelle = 1938
Zeilen in der GalleryCacheMap Tabelle = 0
------------------------------------------

Kind regards
Zephyr

<a href="http://www.zeph4.de">http://www.zeph4.de</a>

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-01-21 15:52

Tried a few time after my post and then when to bed. Tried again this morning and it works.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Zephyr82

Joined: 2006-10-02
Posts: 6
Posted: Thu, 2008-01-24 13:36

I have still the same issue. No matter, when I try to get the plugin list.

 
artnpics

Joined: 2005-10-18
Posts: 39
Posted: Thu, 2008-01-24 21:19

Zephyr82

It seems to me that I had to clear out my data base and do a fresh install to resolve the plugin issue. I don't know enough about database issues to know if this was the issue, but look at my earlier post, under integrity check, and note orphan table entries. Maybe you can run a fresh install in a different directory with the latest version, and leave your other gallery intact to eliminate software/server/hardware configuration factors. Since I ran the new install, Gallery is running smoothly. I am running this configuration:

Gallery version = 2.2.3 core 1.2.0.5
PHP version = 4.4.2 apache
Webserver = Apache
Database = mysqlt 4.1.22-standard-log, lock.system=flock
Toolkits = Getid3, LinkItemToolkit, Thumbnail, Gd, Exif
Acceleration = none, none
Operating system = Linux space.dnsprotect.com 2.6.10-2.3.legacy_FC2smp #1 SMP Sat Feb 18 23:09:31 EST 2006 i686
Default theme = x_treme

 
Gintas

Joined: 2005-03-30
Posts: 9
Posted: Mon, 2008-01-28 15:41

I tried downloading plugins at 10:25am Eastern Time Jan28 2008 after clearing database cache and still get this:
................
Error downloading index from 'http://gallery.menalto.com/repository/released/index'.
Error downloading index from 'http://gallery.menalto.com/repository/community/index'.
Please make sure that your internet connection is set up properly or try again later.
................

I have fresh multisite installation:

Gallery version = 2.2.4 core 1.2.0.6
PHP version = 4.3.10 apache2handler
Webserver = Apache/2.0.53 (Linux/SUSE)
Database = mysqlt 4.1.10a, lock.system=flock
Toolkits = Dcraw, NetPBM, Gd, ImageMagick
Acceleration = none, none
Operating system = Linux lawrence 2.6.11.4-21.17-smp #1 SMP Fri Apr 6 08:42:34 UTC 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Rows in GalleryAccessMap table = 38
Rows in GalleryAccessSubscriberMap table = 39
Rows in GalleryUser table = 6
Rows in GalleryItem table = 37
Rows in GalleryAlbumItem table = 23
Rows in GalleryCacheMap table = 0

 
jmcd1973

Joined: 2008-02-01
Posts: 2
Posted: Fri, 2008-02-01 01:01

I have had the "Error downloading index from 'http://gallery.menalto.com/repository/released/index'." error also. This is after it was working a few weeks ago.

Cleared database / cache didn't help.

I tested connectivity using 'wget http://gallery.menalto.com/repository/released/index' which worked fine so no firewall problems blocking the downloads.

I thought it may have been because my 'data.gallery.base' value '/srv/g2data/' was actually pointing to the gallery data folder via a symlink /srv > /home/srv so I changed it to the correct filesystem path /home/srv/g2data and then RESTARTED apache. All of a sudden the download worked. Out of curiousity I change the data.gallery.base value from /home/srv/g2data back to the original /srv/g2data/ and restarted Apache and the download still works.

So it looks as though restarting Apache may have fixed the issue in my case.

The posts above seem to indicate that the problem is intermittent.

My Gallery Details:
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.2.4 apache2handler
Webserver = Apache/2.2.6 (Fedora)
Database = mysqli 5.0.45, lock.system=flock
Toolkits = ImageMagick
Acceleration = none/900, none/900
Operating system = Linux xxx.myhostname.com 2.6.23.9-85.fc8 #1 SMP Fri Dec 7 15:49:59 EST 2007 i686
Default theme = carbon
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Rows in GalleryAccessMap table = 43
Rows in GalleryAccessSubscriberMap table = 3912
Rows in GalleryUser table = 11
Rows in GalleryItem table = 3907
Rows in GalleryAlbumItem table = 136
Rows in GalleryCacheMap table = 0

 
burleydude

Joined: 2008-06-30
Posts: 1
Posted: Mon, 2008-06-30 16:15

Hey guys, this is really stumped me. I've tried reinstalling, I've tried making a new database, I've tried clearing the database and template caches. The first time I try with a clear database cache I can't get a list of the available plugins/modules and I can the same message as the people above:

"Error downloading index from 'http://gallery.menalto.com/repository/community/index'.
Please make sure that your internet connection is set up properly or try again later."

If I try to download again, without clearing the database cache, I get this message:

Estimated time remaining: 1:20

Memory used: 6997784, total: 16M

Error (ERROR_STORAGE_FAILURE)

* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1106 (gallerycoreapi::error)
* in modules/core/classes/GalleryStorage.class at line 517 (gallerystorageextras::removemapentry)
* in modules/core/classes/GalleryCoreApi.class at line 2823 (mysqlstorage::removemapentry)
* in modules/core/classes/GalleryRepository.class at line 760 (gallerycoreapi::removemapentry)
* in modules/core/AdminRepository.inc at line 219 (galleryrepository::scanplugin)
* in ??? at line 0 (adminrepositorycontroller::updatepluginstatus)
* in modules/core/classes/GalleryTemplateAdapter.class at line 915
* in g2data_77155083b4/smarty/templates_c/%%1473735223/%%3A^3A8^3A818B59%%theme.tpl.php at line 69 (gallerytemplateadapter::trailer)
* in lib/smarty/Smarty.class.php at line 1258
* in modules/core/classes/GallerySmarty.class at line 61 (smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 209 (gallerysmarty::fetch)
* in main.php at line 480 (gallerytemplate::display)
* in main.php at line 94
* in main.php at line 83

I've been trying this for about 12 hours. Any ideas?

Gallery version = 2.2.5 core 1.2.0.7
PHP version = 5.2.5 cgi-fcgi
Webserver = Apache/2.0.52 (CentOS)
Database = mysqli 4.1.20-log, lock.system=flock
Toolkits =
Acceleration = none, none
Operating system = Linux middns1.co.uk 2.6.20.4a #7 Mon Apr 2 16:38:13 BST 2007 i686
Default theme = matrix
gettext = disabled
Locale = en_GB
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9) Gecko/2008061004 Firefox/3.0
Rows in GalleryAccessMap table = 3
Rows in GalleryAccessSubscriberMap table = 1
Rows in GalleryUser table = 2
Rows in GalleryItem table = 1
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0

 
Slayergirl
Slayergirl's picture

Joined: 2007-09-12
Posts: 180
Posted: Wed, 2008-07-23 12:39

I just installed RC1 and get the
Error downloading index from 'http://gallery.menalto.com/repository/released/index'.
Error downloading index from 'http://gallery.menalto.com/repository/experimental/index'.
Please make sure that your internet connection is set up properly or try again later.
tried clearing the cache but no succes

Gallery version = 2.3-RC1 core 1.2.36
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.4
PHP version = 5.2.5 apache2handler
Webserver = Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
Database = mysqli 5.0.51a, lock.system=database
Toolkits = Exif, Gd
Acceleration = none, none
Operating system = Windows NT HVU-B24D2DC79F5 5.1 build 2600
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; InfoPath.1; .NET CLR 3.0.04506.648)
Rows in GalleryAccessMap table = 12
Rows in GalleryAccessSubscriberMap table = 1
Rows in GalleryUser table = 2
Rows in GalleryItem table = 1
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0

 
talmdal

Joined: 2006-12-06
Posts: 358
Posted: Wed, 2008-07-23 14:17

You want to disable the released repository as until R2.3 final ships, the released repository will point at R2.2 plugins, which may or may not be compatible.

Have you tried refreshing the plugin list as well, I just downloaded some plugins from the experimental repository w/o problems

Hope this helps
Tim

http://www.timalmdal.com

 
mattbaer

Joined: 2008-10-23
Posts: 2
Posted: Thu, 2008-10-23 04:01

Has this been solved?

I am now getting this error. I just downloaded the lasted and upgraded and also just delete and did a clean install and still get the same error. everything worked fine about a week ago and nothing changed on the hosting side.

Gallery URL = http://album.selfexplanatorymedia.com/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 4.4.8 apache
Webserver = Apache
Database = mysqlt 5.0.41-community-log, lock.system=flock
Toolkits =
Acceleration = none, none
Operating system = Linux web235.opentransfer.com 2.6.26.2 #5 Sun Aug 17 14:40:30 CDT 2008 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Rows in GalleryAccessMap table = 9
Rows in GalleryAccessSubscriberMap table = 3
Rows in GalleryUser table = 2
Rows in GalleryItem table = 3
Rows in GalleryAlbumItem table = 3
Rows in GalleryCacheMap table = 0

 
rhuidu

Joined: 2007-02-26
Posts: 15
Posted: Thu, 2008-10-23 09:23

I have the same problems: i make update 2.2.2 to 2.2.6 and now, when i want to make "Plugin update list" i have error:

Error downloading index from 'http://gallery.menalto.com/repository/released/index'.
Please make sure that your internet connection is set up properly or try again later.

I try to Delete database cache, Delete template cache, Log Off/Log On, but nothing...

Gallery version = 2.2.6 core 1.2.0.8
PHP version = 5.2.6 cgi-fcgi
Webserver = Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Database = mysqlt 5.0.45-community-log, lock.system=flock
Toolkits = ArchiveUpload, Dcraw, Getid3, LinkItemToolkit, Gd, ImageMagick, NetPBM
Acceleration = none, none
Operating system = Linux box328.bluehost.com 2.6.26-5_2.BHsmp #1 SMP Thu Sep 25 09:22:16 MDT 2008 x86_64
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8)
Rows in GalleryAccessMap table = 36
Rows in GalleryAccessSubscriberMap table = 768
Rows in GalleryUser table = 2
Rows in GalleryItem table = 766
Rows in GalleryAlbumItem table = 79
Rows in GalleryCacheMap table = 0

Thank you
Romeo
www.romeohuidu.com

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2008-10-23 15:31

Please look at http://gallery.menalto.com/node/82545, I've posted a test script there that you can use to verify that your host is operating correctly.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2008-10-24 02:34

This problem should be resolved now.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
mattbaer

Joined: 2008-10-23
Posts: 2
Posted: Fri, 2008-10-24 02:37

Works for me now.

 
rhuidu

Joined: 2007-02-26
Posts: 15
Posted: Fri, 2008-10-24 07:50

Now is work. Thank you

 
GIJosh1516
GIJosh1516's picture

Joined: 2008-11-30
Posts: 12
Posted: Sun, 2008-11-30 22:47

Hi, and first off thanks to everyone for their efforts. I am having this same problem, recently did a fresh install of stable 2.3, and am unable to use the download plugins, or the PicLens slideshow module. I host my own site, and have DSL from AT&T on the East Coast. Here is my info:

Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6 apache2handler
Webserver = Apache/2.2.0 (Fedora)
Database = mysqli 5.0.67, lock.system=flock
Toolkits = ArchiveUpload, Dcraw, Exif, Getid3, ImageMagick, LinkItemToolkit, NetPBM, Thumbnail, Gd, SquareThumb
Acceleration = none, none
Operating system = Linux Max.localdomain 2.6.27.5-117.fc10.i686 #1 SMP Tue Nov 18 12:19:59 EST 2008 i686
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2; .NET CLR 1.1.4322)
Rows in GalleryAccessMap table = 32
Rows in GalleryAccessSubscriberMap table = 3147
Rows in GalleryUser table = 2
Rows in GalleryItem table = 3145
Rows in GalleryAlbumItem table = 61
Rows in GalleryCacheMap table = 0

I have tried the various steps outlined in this thread, but no joy. Thanks.

 
GIJosh1516
GIJosh1516's picture

Joined: 2008-11-30
Posts: 12
Posted: Sun, 2008-11-30 23:21

I wanted to add another entry I found in the Apache error logs, may help:

[Sun Nov 30 18:13:58 2008] [error] [client <MY.PUBLIC.IP>] PHP Fatal error: Class 'GalleryRepository' not found in /var/www/html/gallery2/modules/core/RepositoryCallback.inc on line 80, referer: http://www.MY.URL.com/gallery2/main.php?g2_view=core.SiteAdmin&g2_subView=core.AdminRepository

Thanks again.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2008-12-04 00:48

GIJosh1516, since you host your own site, first check to see if you can wget gallery.menalto.com

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
GIJosh1516
GIJosh1516's picture

Joined: 2008-11-30
Posts: 12
Posted: Fri, 2008-12-05 00:42

nivekiam,
Thank you for following up, here are the results:
[root@Max /]# wget gallery.menalto.com
--2008-12-04 19:42:24-- http://gallery.menalto.com/
Resolving gallery.menalto.com... 209.237.226.156
Connecting to gallery.menalto.com|209.237.226.156|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'

[ <=> ] 26,775 81.6K/s in 0.3s

2008-12-04 19:42:30 (81.6 KB/s) - `index.html' saved [26775]

 
GIJosh1516
GIJosh1516's picture

Joined: 2008-11-30
Posts: 12
Posted: Fri, 2008-12-05 12:29

Some more detail:

When I select 'Download Plugins', I see the progress bar, and it completes 100%, but automatically goes to the next page instead of waiting for me to click continue. Could this be a class or includes error?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2008-12-05 14:05

That happens for me too. I think that's a function of that page now, where in the past you had to click continue.

So is the page actually updating the plugins then and you're just seeing some errors in your error log?

I guess I should have read further up in this post. Looks like Bharat posted a test script here:
http://gallery.menalto.com/node/82545#comment-289931

I would also verify the integrity of your gallery install:
FAQ: How can I make sure that my installation files are all intact?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
GIJosh1516
GIJosh1516's picture

Joined: 2008-11-30
Posts: 12
Posted: Fri, 2008-12-05 15:37

I checked the install files, and they look good:

Gallery file integrity Success

The only warning is Output Buffering is disabled.

I'll run the script tonight.

Thanks!

 
GIJosh1516
GIJosh1516's picture

Joined: 2008-11-30
Posts: 12
Posted: Tue, 2008-12-09 00:16

I've tried the FsockOpen.php script a few times, and there is no output. I also tried the IP address script, and it returned my LAN IP vs my WAN IP. Since I am able to perform a wget, and the errors I'm seeing reference a missing class in the GalleryCore, I'm not sure where to go next. Thoughts?

As a workaround, can you tell me what directory I can manually download and place the index file for both community and released plugins?

Not sure if they are related, but the 2 repeating errors I see in the Gallery event logs are:

Error Detail -
Error (ERROR_PERMISSION_DENIED)
in modules/core/classes/GalleryView.class at line 168 (GalleryCoreApi::error)
in main.php at line 325 (GalleryView::loadView)
in main.php at line 104
in main.php at line 88

Error Detail -
Error (ERROR_BAD_PARAMETER) : /var/www/html/gallery2/modules/tags/module.inc
in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 94 (GalleryCoreApi::error)
in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 88 (GalleryPluginHelper_simple::loadPlugin)
in modules/core/classes/GalleryCoreApi.class at line 273 (GalleryPluginHelper_simple::loadPlugin)
in modules/core/classes/GalleryView.class at line 153 (GalleryCoreApi::loadPlugin)
in main.php at line 325 (GalleryView::loadView)
in main.php at line 104
in main.php at line 88

I've reviewed my permissions against the G2 docs, and mine are actually a bit more lax than recommended, so I'm not sure what system or call is being denied, as always, any help is appreciated.

 
GIJosh1516
GIJosh1516's picture

Joined: 2008-11-30
Posts: 12
Posted: Wed, 2008-12-17 23:53

nivekiam, you still there?

 
artnpics

Joined: 2005-10-18
Posts: 39
Posted: Fri, 2008-12-19 00:33

Hello
GIJosh1516

If you have any firewall up, disable it temporarily and see if you can proceed. I have gotten weird errors at times because of firewalls; also, did you clean out cache in maintenance? I had an issue like this last year, and the way I was able to get around it was to reinstall to the latest version; you may want to try a clean install in another dir can see if you can get that to work...best of luck GIJosh.

Tim

 
tedtoal

Joined: 2010-06-22
Posts: 3
Posted: Wed, 2010-06-23 03:26

This problem is widespread and has been reported repeatedly for YEARS.

From perusal of forums it sounds like it is caused by the gallery.menalto.com server refusing a connection, especially perhaps when that connection comes from quite some distance?? Do this test from your server:

wget gallery.menalto.com

This works fine from my local PC, but when I remote log in to my server and try it from there, it fails with error "Connection refused."

In 2008, Gallery developers posted that they had found the problem at their end and fixed it, and for a while the problem seemed to disappear, but here it is June 2010 and I have the same problem.

What is going on? I suspect this has something to do with my web host being in Germany. The round-trip delay to U.S. is pretty long sometimes, could that be an issue?

I notice that it appears that Gallery2 successfully gets a list of plugins, because there is a bunch of text activity that appears to indicate things are going well. The failure occurs only at the very end, after it navigates away from the "updating repository index" page and back to the get-plugins page.

The test script mentioned in some earlier threads and posts fails the fsockopen() on my system, but this is because the connection it is trying to open is refused at the remote end.

To recap the problem, it is these errors when trying to get new plugins:

Quote:
Error downloading index from 'http://gallery.menalto.com/repository/released/index'.
Error downloading index from 'http://gallery.menalto.com/repository/experimental/index'.
Error downloading index from 'http://gallery.menalto.com/repository/community/index'.
Please make sure that your internet connection is set up properly or try again later.

My own phpinfo.htm file is attached, showing phpinfo() output, which I created by making file phpinfo.php on my server, browsing to it, and saving the resulting html page. The phpinfo.php file is simple to make, it is just this:

Quote:
<?php
phpinfo();
?>

My system info is:

Quote:
Gallery URL = http://toal.us/gallery2/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.5 cgi
Webserver = Apache
Database = mysqlt 5.1.30-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd
Acceleration = none, none
Operating system = Linux p3.runhosting.com 2.6.24.3 #4 SMP Thu Sep 10 13:08:39 UTC 2009 x86_64
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SU 3.14; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3)
Rows in GalleryAccessMap table = 15
Rows in GalleryAccessSubscriberMap table = 6
Rows in GalleryUser table = 5
Rows in GalleryItem table = 6
Rows in GalleryAlbumItem table = 5
Rows in GalleryCacheMap table = 0

 
alargule

Joined: 2010-01-09
Posts: 13
Posted: Sun, 2010-08-22 19:56

Same problem here. Any solution in sight yet?

Edit: I tried a script I found in one of the other topics; this is the result:

Warning: fsockopen() [function.fsockopen]: unable to connect to gallery.menalto.com:80 (Network is unreachable) in /home/www/beeldbank.nederlandmetro.nl/fsockopen_test.php on line 4

Warning: fwrite(): supplied argument is not a valid stream resource in /home/www/beeldbank.nederlandmetro.nl/fsockopen_test.php on line 5

Warning: fread(): supplied argument is not a valid stream resource in /home/www/beeldbank.nederlandmetro.nl/fsockopen_test.php on line 6

Warning: fclose(): supplied argument is not a valid stream resource in /home/www/beeldbank.nederlandmetro.nl/fsockopen_test.php on line 7

Works fine if I put any other URL in there other than "gallery.menalto.com" (e.g. my own).

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2010-08-22 20:13

Well that is interesting because this forum is 'gallery.menalto.com'
I don't know why you cant get to that url form your host but you can from your client.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
alargule

Joined: 2010-01-09
Posts: 13
Posted: Sun, 2010-08-22 20:25

My host is awardspace.com. Any known issues with them?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2010-08-22 20:39

in order to use fsockopen, you need allow_url_fopen enabled in your php.ini
post a link to your phpinfo()

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2010-08-22 20:44

Also see if you can ping gallery.menalto.com from the SSH Access prompt.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
alargule

Joined: 2010-01-09
Posts: 13
Posted: Sun, 2010-08-22 21:43

allow_url_fopen is on.
Not sure if I know how to ping gallery.menalto.com; instructions are welcome! :)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2010-08-23 03:02

Can you get to a SSH prompt? most host have some direction for this when you sign up or some control panel directions.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nero-ben

Joined: 2010-08-23
Posts: 3
Posted: Mon, 2010-08-23 07:34

Just for your information, I had the same problem yesterday.
I discovered that my problem came from the IPv6 connection of gallery.menalto.com (IPv4 resolution (A Record): 64.62.166.252, IPv6 resolution (AAAA Record): 2001:470:1:12d::252).
By removing IPv6 routes, it works perfectly. This is also explaining why it works from standard browser that often still doesn't have IPv6 whereas most of the servers in ISP have IPv6 now.

Hope this can help.

Ben

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2010-08-23 07:45

Ah ha! Thanks for that bit of info, nero-ben. I recently configured the site to use IPv6 but we were having some firewall issues, which should be resolved now. Can you try again with the IPv6 routes re-enabled? That'd be very helpful...
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
nero-ben

Joined: 2010-08-23
Posts: 3
Posted: Mon, 2010-08-23 13:35

I retried but still some connection problem at layer 4:
* Layer 3 is working fine:

Quote:
root@[BLOB]:~# ping6 gallery.menalto.com
PING gallery.menalto.com(2001:470:1:12d::252) 56 data bytes
64 bytes from 2001:470:1:12d::252: icmp_seq=1 ttl=55 time=208 ms
64 bytes from 2001:470:1:12d::252: icmp_seq=2 ttl=55 time=209 ms
--- gallery.menalto.com ping statistics ---
3 packets transmitted, 2 received, 33% packet loss, time 2002ms
rtt min/avg/max/mdev = 208.411/208.934/209.458/0.694 ms

* Layer 4 is not working:

Quote:
root@[BLOB]:~# wget http://gallery.menalto.com/repository/released/index
--2010-08-23 15:20:00-- http://gallery.menalto.com/repository/released/index
Resolving gallery.menalto.com... 2001:470:1:12d::252, 64.62.166.252
Connecting to gallery.menalto.com|2001:470:1:12d::252|:80... connected.
HTTP request sent, awaiting response...

... and with a tcpdump trace if it can help:

Quote:
root@[BLOB]:~# tcpdump -i sixxs -n tcp port 80
tcpdump: WARNING: sixxs: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on sixxs, link-type RAW (Raw IP), capture size 96 bytes
15:29:08.673313 IP6 2a01:240:[HIDDEN].37885 > 2001:470:1:12d::252.80: Flags [S], seq 1438260314, win 5472, options [mss 1368,sackOK,TS val 1422415880 ecr 0,[|tcp]>
15:29:08.883385 IP6 2001:470:1:12d::252.80 > 2a01:240:[HIDDEN].37885: Flags [S.], seq 3616218985, ack 1438260315, win 5712, options [mss 1440,sackOK,TS val 2583635470 ecr 1422415880,[|tcp]>
15:29:08.883453 IP6 2a01:240:[HIDDEN].37885 > 2001:470:1:12d::252.80: Flags [.], ack 1, win 86, options [nop,nop,TS val 1422415932 ecr 2583635470], length 0
15:29:08.883704 IP6 2a01:240:[HIDDEN].37885 > 2001:470:1:12d::252.80: Flags [P.], seq 1:143, ack 1, win 86, options [nop,nop,TS val 1422415933 ecr 2583635470], length 142
15:29:09.095465 IP6 2001:470:1:12d::252.80 > 2a01:240:[HIDDEN].37885: Flags [.], ack 143, win 53, options [nop,nop,TS val 2583635523 ecr 1422415933], length 0

I tried a wget to two other IPv6 websites (ipv6.google.com for example) and it works for them.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2010-08-24 16:17

Hrm. It's working for me:

$ wget -6 -O- -v http://gallery.menalto.com/repository/released/index
--09:15:07--  http://gallery.menalto.com/repository/released/index
           => `-'
Resolving gallery.menalto.com... 2001:470:1:12d::252
Connecting to gallery.menalto.com|2001:470:1:12d::252|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/g2-pkg]
...

I'm making my test request from a server on a different network. Any ideas on what's different between your setup and mine?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
nero-ben

Joined: 2010-08-23
Posts: 3
Posted: Wed, 2010-08-25 11:22

Ok. Solved! I found the issue: MTU size.

I changed my MTU and it works.

I don't know if you are familiar with IPv6 but one of the changes (improvement in my opinion) from IPv4 is the impossibility to fragment the IP packet in the transport [1]. Just the source and the destination can fragment.
As a result, the IPv6 specifications only allow MTU>1280 bytes [1].
However, an ICMPv6 message (type: 2 (Packet Too Big)) [2] should be sent from your server to mine but it seems to be filtered somewhere.
I tried from another location, with a MTU of 1500 and it works so it is probably my IPv6 provider.

So there is no problem from your side any more.

[1] IETF RFC 2460 - http://tools.ietf.org/html/rfc2460
[2] IETF RFC 2463 - http://tools.ietf.org/html/rfc2463