• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Deleting an album does not remove the image!

Simply_Corbett

Chevereto Member
Cannot test against docker as I don't have a test bed for it. That said, I'm sure it happens there as well..

▶ Reproduction steps
  1. Delete album created on a user with images still in the album
  2. All links/images removed from account/album
  3. Actual image (ie https://i.imgrot.com/31e2caad683e3a121cd3e07c97ab4ba3.png ) is still there, but it's no longer listed on the account! So all links/references to the image have been removed from chevereto but the image itself remains on the backend.
The image still exists in storage on the server, so I have verified it's not due to a cache mirror or CDN.

Edit: This is with external storage / local storage being setup.
 
Last edited:
Ah, this happens to every image that's deleted. Perhaps it's a disabled PHP function... I don't see any errors though. I'll have to get a test bed for docker I guess.
 
Note if the cron is running, and the number of attempts in chv_queue. Chances are that the system is sending the remove requests and it is just bouncing.
 
I can confirm the cron has run. Not sure about the number of attempts in chv_queue though, I'll check that in a bit and edit this post when I have time.
 
You need to provide me more details, I can't test anything without knowing the storage API causing this.

Did you check if this happens with all APIs or just one? Does it happens in Docker/VPS?
 
root@primary:/usr/local/php80/bin# sudo -u imgrot /usr/local/php80/bin/php80 /home/imgrot/domains/imgrot.com/public_html/app/bin/legacy -C cron
* Doing storageDelete
Error thrown in /home/imgrot/domains/imgrot.com/public_html/app/src/Components/Legacy/Classes/Queue.php:200

# Message
Cannot access private property Chevereto\Components\Legacy\Classes\LocalStorage::$deleted

# Incident ID:61f59c21f274e

# Time
2022-01-29T19:57:21+00:00 [1643486241]

# Stack trace
------------------------------------------------------------
#0 /home/imgrot/domains/imgrot.com/public_html/app/legacy/commands/cron.php:61
Chevereto\Components\Legacy\Classes\Queue:😛rocess()
------------------------------------------------------------
#1 /home/imgrot/domains/imgrot.com/public_html/app/legacy/commands/cron.php:40
storageDelete()
------------------------------------------------------------
#2 /home/imgrot/domains/imgrot.com/public_html/app/legacy/load/loader.php:292
require_once()
------------------------------------------------------------
#3 /home/imgrot/domains/imgrot.com/public_html/app/legacy/entrypoints/cli.php:31
require_once()
------------------------------------------------------------
#4 /home/imgrot/domains/imgrot.com/public_html/app/bin/legacy:4
require_once()
------------------------------------------------------------

# Server
Linux primary.imgrot.com 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64
root@primary:/usr/local/php80/bin#
 
Hi,

This can be closed. While the error does still occur it was a cron issue (and I'm a serious idiot) and the images delete properly now.

Edit: actually, while the image is deleted the chv_queues remains the same.
 
In my case, (V3) I know the cron is running (every minute), I deleted the image and it no longer shows if I search for it, nor on the account.

But the image is still on the server
 
Back
Top