Forum

Thread tagged as: Problem

Assets automaticly deleted

Just found out bunch of assets just got automaticly deleted. They where in use in a blog post and no user besides me have access to the assets. Any others experienced the same problem with the blog app?

Erick Green

Erick Green 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Can we see your Diagnostics Report please?

This happended after i did some changes on the image compression in the template used by blog posts. Also i did change the last name of the user who created the blog post and her old name is still showing as the author. I dont know if this got anything to do with the assets being deleted tho.

I have now tried to create a new blog post with different images to see if they get deleted as well.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Did you update the user account or the blog author?

Yes, I did change the last name of the blog author. Could that be the reason assets were deleted automatically?

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Can we see the Diagnostics Report?

Perch: 2.8.13, PHP: 5.5.29-1~dotdeb+7.1, MySQL: 5.5.44, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.13), assets (2.8.13), categories (2.8.13), perch_blog (4.6), perch_forms (1.8.3), perch_backup (1.2)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_forms', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/4/h/hairport/www/perch
PERCH_CORE: /home/4/h/hairport/www/perch/core
PERCH_RESFILEPATH: /home/4/h/hairport/www/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 128M, Max POST 128M, Memory: 129M, Total max file upload: 128M
Resource folder writeable: Yes
DOCUMENT_ROOT: /home/4/h/hairport/www
HTTP_HOST: www.hairport.no
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Drew McLellan

Drew McLellan 2638 points
Perch Support

How are you uploading the assets that you can't find?

Directly in Assets. Drag and drop.

Drew McLellan

Drew McLellan 2638 points
Perch Support

So into an image field in your post.html template? Can you show me the tag you're using?

<perch:block type="image" label="Bilde">
    <perch:blog id="images" type="image" width="1200" quality="90" label="Bilde" output="tag"/>
    <p class="bildetekst"><perch:blog id="bildetekst" type="textarea" label="Bildetekst" size="xs"/></p>
</perch:block>
Drew McLellan

Drew McLellan 2638 points
Perch Support

Was this site a fresh install of 2.8.13 or an update from a previous version?

This site is a fresh install.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you corrected the disk space issue you were reporting?

Yes, that is a different project/site.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you post your extended diagnostics?