It says This plugin moves all your photos from "galleries" ... to "upload"... but sometimes it is not possible. For example when i copy albums from my G2 installation to galleries, dirs have 0755 and files 0644 unix permissions with me (not apache) as owner. When i click to "Start virtualization", albums are marked as virtual (admin home says i have all virtual) but stays in galleries folder. There is permission error in apache log:
[Mon Feb 02 14:14:48 2015] [error] [client IP] PHP Warning: rename(./galleries/dir/file.jpg,./upload/2012/11/28/20121128154417-6f903d46.jpg): Permission denied in /.../plugins/virtualize/admin.php on line 71, referer: http://URL/admin.php?page=plugin§ion=virtualize%2Fadmin.php
There is NO error in admin GUI. Gallery works with some bad thumbnails and albums are half-virtualized.
So i suggest:
Show information about required permission to galleries folder on admin.php?page=plugin§ion=virtualize
Test permission while migrate and don't do anything before it is sorted out.
**Reported by jc on 2 Feb 2015 13:39**
**Version:** 2.7.3
It says This plugin moves all your photos from "galleries" ... to "upload"... but sometimes it is not possible. For example when i copy albums from my G2 installation to galleries, dirs have 0755 and files 0644 unix permissions with me (not apache) as owner. When i click to "Start virtualization", albums are marked as virtual (admin home says i have all virtual) but stays in galleries folder. There is permission error in apache log:
[Mon Feb 02 14:14:48 2015] [error] [client IP] PHP Warning: rename(./galleries/dir/file.jpg,./upload/2012/11/28/20121128154417-6f903d46.jpg): Permission denied in /.../plugins/virtualize/admin.php on line 71, referer: http://URL/admin.php?page=plugin&section=virtualize%2Fadmin.php
There is NO error in admin GUI. Gallery works with some bad thumbnails and albums are half-virtualized.
So i suggest:
1. Show information about required permission to galleries folder on admin.php?page=plugin&section=virtualize
2. Test permission while migrate and don't do anything before it is sorted out.
[Piwigo Bugtracker #3196](http://piwigo.org/bugs/view.php?id=3196)
<!-- github-sync-id:97227043 -->
After migration there are many empty directories. It's pretty confusing and i suppose to remove them after successful remove of all included files outside.
**Comment posted by jc on 2 Feb 2015 14:08**
After migration there are many empty directories. It's pretty confusing and i suppose to remove them after successful remove of all included files outside.
<!-- github-comment-id:124899158 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Reported by jc on 2 Feb 2015 13:39
Version: 2.7.3
It says This plugin moves all your photos from "galleries" ... to "upload"... but sometimes it is not possible. For example when i copy albums from my G2 installation to galleries, dirs have 0755 and files 0644 unix permissions with me (not apache) as owner. When i click to "Start virtualization", albums are marked as virtual (admin home says i have all virtual) but stays in galleries folder. There is permission error in apache log:
[Mon Feb 02 14:14:48 2015] [error] [client IP] PHP Warning: rename(./galleries/dir/file.jpg,./upload/2012/11/28/20121128154417-6f903d46.jpg): Permission denied in /.../plugins/virtualize/admin.php on line 71, referer: http://URL/admin.php?page=plugin§ion=virtualize%2Fadmin.php
There is NO error in admin GUI. Gallery works with some bad thumbnails and albums are half-virtualized.
So i suggest:
Piwigo Bugtracker #3196
See https://github.com/plegall/Piwigo-virtualize/issues/1
Comment posted by jc on 2 Feb 2015 14:08
After migration there are many empty directories. It's pretty confusing and i suppose to remove them after successful remove of all included files outside.