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.3.3 apache2handler
Webserver = Apache/2.2.16 (Fedora)
Database = mysqli 5.1.49, lock.system=flock
Toolkits = ArchiveUpload, Exif, ImageMagick, LinkItemToolkit, SquareThumb, Dcraw, NetPBM
Acceleration = full/900, none/0
Operating system = Linux XXXXXX.net 2.6.33.6-147.2.4.fc13.x86_64 #1 SMP Fri Jul 23 17:14:44 UTC 2010 x86_64
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.126 Safari/533.4
Rows in GalleryAccessMap table = 190
Rows in GalleryAccessSubscriberMap table = 5598
Rows in GalleryUser table = 4
Rows in GalleryItem table = 5597
Rows in GalleryAlbumItem table = 230
Rows in GalleryCacheMap table = 2790
I'm using Gallery 2.3.1 with the Picasa module to import pictures via a zipped XML export from Picasa 3.6 off my browser machine (using the add photos link on the album page, not using the site admin page with the exported files on the server). Gallery starts showing me a progress bar, then very soon (too soon) flashes a "continue" link for an instant before bringing me right back to the Add Photos page. No photos are added to the album. I checked the Apache error_log, and saw the following:
[Fri Aug 20 20:32:08 2010] [error] [client X.X.X.X] PHP Warning: opendir(/srv/gallery/g2data/tmp/tmp_UAH92V.dir/): failed to open dir: No such file or directory in /usr/share/gallery2/modules/core/classes/GalleryPlatform.class on line 406, referer: http://XXXXXX.net/gallery2/main.php?g2_view=core.ItemAdmin&g2_subView=core.ItemAdd&g2_itemId=20415&g2_addPlugin=ItemAddFromPicasa
[Fri Aug 20 20:32:08 2010] [error] [client X.X.X.X] PHP Warning: unlink(/srv/gallery/g2data/tmp/tmp_UAH92V): No such file or directory in /usr/share/gallery2/modules/core/classes/GalleryPlatform.class on line 502, referer: http://XXXXXX.net/gallery2/main.php?g2_view=core.ItemAdmin&g2_subView=core.ItemAdd&g2_itemId=20415&g2_addPlugin=ItemAddFromPicasa
It appears that the attempt to create a temp directory failed. I verified that the /srv/gallery/g2data/tmp directory exists and has the right permissions:
drwxr-xr-x. apache apache user_u:object_r:httpd_sys_rw_content_t:s0 .
drwxr-xr-x. root root system_u:object_r:httpd_sys_rw_content_t:s0 ..
drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 albums
drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 cache
-rw-r--r--. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 .htaccess
-rwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 install_307d5.log
-rw-r--r--. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 install_3eb3d46537.log
drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 locks
drwx------. root root unconfined_u:object_r:httpd_sys_rw_content_t:s0 lost+found
drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 plugins_data
drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 smarty
drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 tmp
-rw-r--r--. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 upgrade_0f9d9cf791.log
-rwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 upgrade_3380b2bb91.log
-rw-r--r--. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 upgrade_74b8a73c3a.log
-rw-r--r--. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 upgrade_7715a6f28c.log
-rw-r--r--. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 upgrade_fd99a92c16.log
-rw-r--r--. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 versions.dat
There was nothing in the SELinux denial logs - as expected, since the tmp/ directory has the right content type.
I just recently migrated everything from an old server to this new one, but everything else seems to work fine. I'm able to add photos via other means, but I'm trying to use the Picasa export/import for the first time (ever - including the old server). Am I missing something simple? Please help!
Thanks,
-Jeremy
Posts: 10
Here is some more info: I have attached the output from running the Picasa .zip import (from the folder's Add Items page -> From Picasa 2 tab) in debug mode with a test export, as well as the test export .zip itself.