Images not moved using the "move to album" batch action. #1261

Closed
opened 2026-10-05 00:38:03 +02:00 by adam · 6 comments
Owner

Hello,

I'm trying to move images from one album to another using the batch manager.

When using the "move to album" action, the page shows a green success message saying "Information data registered in database".

When displaying the picture details, I can see that it is now linked to two albums. The first one where the file is located (the original one), and the one where I want it to be moved, but I can't remove that album.

When searching for the file in the file system, it is still located inside the original directory.

I also have these messages in the error logs of my domain

7/10 06:47:18 [error] 979#979: *32594 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: move in /var/www/piwigo/admin/batch_manager_global.php on line 201" while reading response header from upstream, client: IPADDR, server: DOMAIN, request: "POST /admin.php?page=batch_manager HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "DOMAIN"

In the file system, www-data is the owner of the galleries directory recursively, so it may not be a permission error.

I also tried to disable every plugin, but it didn't change anything.

I'm I missing something ? Is there something else I can do to move the files ?

    Piwigo 11.5.0 Check for upgrade
    Operating system: Linux
    PHP: 7.4.9 (Show info) [2021-07-10 06:54:16]
    MySQL: 5.5.5-10.3.29-MariaDB-0ubuntu0.20.10.1 [2021-07-10 06:54:16]
    Graphics Library: ImageMagick 6.9.10-23

Thanks for the help.

Hello, I'm trying to move images from one album to another using the batch manager. When using the "move to album" action, the page shows a green success message saying "Information data registered in database". When displaying the picture details, I can see that it is now linked to two albums. The first one where the file is located (the original one), and the one where I want it to be moved, but I can't remove that album. When searching for the file in the file system, it is still located inside the original directory. I also have these messages in the error logs of my domain ``` 7/10 06:47:18 [error] 979#979: *32594 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: move in /var/www/piwigo/admin/batch_manager_global.php on line 201" while reading response header from upstream, client: IPADDR, server: DOMAIN, request: "POST /admin.php?page=batch_manager HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "DOMAIN" ``` In the file system, www-data is the owner of the galleries directory recursively, so it may not be a permission error. I also tried to disable every plugin, but it didn't change anything. I'm I missing something ? Is there something else I can do to move the files ? ``` Piwigo 11.5.0 Check for upgrade Operating system: Linux PHP: 7.4.9 (Show info) [2021-07-10 06:54:16] MySQL: 5.5.5-10.3.29-MariaDB-0ubuntu0.20.10.1 [2021-07-10 06:54:16] Graphics Library: ImageMagick 6.9.10-23 ``` Thanks for the help. <!-- github-sync-id:941191053 -->
adam closed this issue 2026-10-05 00:38:03 +02:00
Author
Owner

hello, sw.js does not exist for piwigo. try delete. thanks

hello, sw.js does not exist for piwigo. try delete. thanks <!-- github-comment-id:877589432 -->
Author
Owner

I don’t want to delete the pictures, I want to move them.

I don’t want to delete the pictures, I want to move them. <!-- github-comment-id:877589736 -->
Author
Owner

sw.js, l'avez vous crée ou écris et mis dans la racine de piwigo ?

sw.js, l'avez vous crée ou écris et mis dans la racine de piwigo ? <!-- github-comment-id:877590759 -->
Author
Owner

Non. Je ne l’ai ni rajouté ni retiré.

Non. Je ne l’ai ni rajouté ni retiré. <!-- github-comment-id:877590931 -->
Author
Owner

essaye de supprimer sw.js. il ne fait pas partie de piwigo.

essaye de supprimer sw.js. il ne fait pas partie de piwigo. <!-- github-comment-id:877591268 -->
Author
Owner

Pourtant l’installation web semble l’avoir installé.

Mais je ne pense pas que le problème vienne de là, puisque j’ai le message de sw.js assez souvent.

Pourtant l’installation web semble l’avoir installé. Mais je ne pense pas que le problème vienne de là, puisque j’ai le message de sw.js assez souvent. <!-- github-comment-id:877591554 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1261