Adding 2000 images at once

rakso

Joined: 2003-07-31
Posts: 141
Posted: Wed, 2007-12-12 15:38

hello!

I try to upload 2000 images from a directory at the webserver.

After about 5 minutes, I get only a blank screen and no image is in the album!

Which limit I have to rise??

Greets
Rakso

---
Multiple Gallery 1.5.x, G2
Server: 2.4 Ghz Celeron, 512MB RAM,FreeBSD 5.5,Apache 1.3.34,PHP 5.2.3, MySQL 5.1.17-beta

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-12-14 20:45

you should use gallery 2.3 for that (the latest nightly snapshot of it).
this functionality is much more reliable on gallery 2.3.

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

 
rakso

Joined: 2003-07-31
Posts: 141
Posted: Fri, 2007-12-14 21:51

ok, I ll try it, if http://codex.gallery2.org/ available again

 
rakso

Joined: 2003-07-31
Posts: 141
Posted: Fri, 2007-12-14 21:52

ok, its working.

whats about the http://codex.gallery2.org/Downloads:Galleryadd.pl_NG - script, can I use this with 2.2.3 for uploading 2000 files?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-12-14 22:31

yes, that should work too.

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

 
rakso

Joined: 2003-07-31
Posts: 141
Posted: Sat, 2007-12-15 08:33

ok, cool solution, but I get the error "specified album does not exist" , but the album is also listed with -l ... ?!?!?
(user with admin rights, of course...)

galleryadd.pl -a Rettung -G 2 -g http://... -u .... -p .... /dir

System http://... [G2]
Login: ... [OK]
Album: fetching list [OK]
Album: Rettung [ERROR]

Error: specified album does not exist
-----------------------------------------------------------------------

galleryadd.pl -c test -G 2 -g http://.... -u ... -p ... /dir/

System http://.../main.php [G2]
Login: .... [OK]
Album: fetching list [OK]
Check: test [OK]
Create test (Test) (33035) [OK]
Check: /dir [OK]
Create test/dir ( Presseup) [ERROR]

Error: could not create album - unknown error

200
Error: Error (ERROR_PERMISSION_DENIED) : user id: 6 doesn't have permission: core.addAlbumItem for item id: test <b>in</b> modules/core/classes/helpers/GalleryUserHelper_simple.class <b>at line</b> 47 (GalleryCoreApi::error)
<b>in</b> modules/core/classes/GalleryCoreApi.class <b>at line</b> 477 (GalleryUserHelper_simple::assertHasItemPermission)
<b>in</b> modules/remote/GalleryRemote.inc <b>at line</b> 649 (GalleryCoreApi::assertHasItemPermission)
<b>in</b> modules/remote/GalleryRemote.inc <b>at line</b> 139 (GalleryRemoteController::newAlbum)
<b>in</b> main.php <b>at line</b> 231 (GalleryRemoteController::handleRequest)
<b>in</b> main.php <b>at line</b> 94
<b>in</b> main.php <b>at line</b> 83
<b>in</b> main.php <b>at line</b> 3
#__GR2PROTO__
debug_user=....
debug_time=0,041s
debug_exception=user id\: 6 doesn't have permission\: core.addAlbumItem for item id\: test
auth_token=43ae71989189172

what the hell????
the album test was created, I can see it with the browser, and of course does this user have admin rights.