Forum

Thread tagged as: Problem, Error, Hosting

Latest assets gone

Hi, a client has recently uploaded a lot of images to several different buckets and tagged them all appropriately. I've just logged in to their admin to update a test page and added an image with no problems. I then hit 'Save and Add Another' but found that when I went to upload another image, the latest resources had completely gone!

I've checked the DB and they are no longer listed in the perch3_resources table however the tags are still present and usage count seems correct and there are 73 records in the perch3_resources_log table.

I've checked the resources folder on the server and they have also been removed from there.

I've contacted the server host and I'm waiting for a reply but just wanted to check here too so that all bases can be covered!

Cheers in advance!

DIAGNOSTICS :

Perch information

Perch: 3.0.11
Production mode: Production (100)
Installed apps: content (3.0.11), assets (3.0.11), categories (3.0.11)
DB driver: PDO
DB tables: perch3_categories (0), perch3_category_counts (0), perch3_category_sets (0), perch3_content_index (227), perch3_content_items (69), perch3_content_regions (8), perch3_menu_items (8), perch3_navigation (0), perch3_navigation_pages (0), perch3_page_templates (1), perch3_pages (8), perch3_resource_log (73), perch3_resource_tags (88), perch3_resources (34), perch3_resources_to_tags (549), perch3_settings (21), perch3_user_passwords (0), perch3_user_privileges (28), perch3_user_role_privileges (2), perch3_user_roles (2), perch3_users (2)
Users: 2
App runtimes:
<?php
    $apps_list = [ 
    ];
Editor plug-ins:
H1: 654969bb2ea81d7976b3dd4a3864492d
L1: 0d2689c87cddaa08823806fbb4f5f406
F1: 3b606135b33e6a102526838f4152a807
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
installedAt: 3.0.10
update_3.0.10: done
latest_version:
on_sale_version: 3.0.11
headerScheme: light
dashboard: 1
hide_pwd_reset: 0
keyboardShortcuts: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
content_skip_region_list: 0
assets_restrict_buckets: 0
logoPath: /kontrol/resources/david-russell-logo-high-res.png
update_3.0.11: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: mykont1001
PERCH_DB_SERVER: mysql-5.davidrussellphoto.com.au
PERCH_DB_DATABASE: kontrol_davidrussellphoto_com_au
PERCH_DB_PREFIX: perch3_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: david@davidrussellphoto.com.au
PERCH_EMAIL_FROM_NAME: David Russell
PERCH_LOGINPATH: /kontrol
PERCH_PATH: /clientdata/apache-www/d/a/davidrussellphoto.com.au/www/kontrol
PERCH_CORE: /clientdata/apache-www/d/a/davidrussellphoto.com.au/www/kontrol/core
PERCH_RESFILEPATH: /clientdata/apache-www/d/a/davidrussellphoto.com.au/www/kontrol/resources
PERCH_RESPATH: /kontrol/resources
PERCH_HTML5: 1
PERCH_RUNWAY:
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_ASSET_VERSION: f704e7442d11292c99b5
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /clientdata/apache-www/d/a/davidrussellphoto.com.au/www/kontrol/templates
PERCH_TEMPLATE_FILTERS:
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_XHTML_MARKUP:
PERCH_RWD: 1
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_DEFAULT_BUCKET: default
PERCH_TRANSLATION_ASSIST:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
PERCH_PRIV_ASSIST:
PERCH_CUSTOM_EDITOR_CONFIGS:
PERCH_ENABLE_EXIF: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown
Hosting settings

PHP: 5.5.38
Zend: 2.5.0
OS: Linux
SAPI: litespeed
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $
MySQL server: 5.5.32-31.0-log
Free disk space: 2.52 TB
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, imagick, standard, intl, json, ldap, mbstring, mcrypt, mssql, mysql, mysqlnd, odbc, PDO, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, redis, Reflection, igbinary, shmop, SimpleXML, soap, sockets, imap, exif, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, mysqli, litespeed, mhash, ionCube Loader, nps
GD: Yes
ImageMagick: Yes
PHP max upload size: 50M
PHP max form post size: 50M
PHP memory limit: 128M
Total max uploadable file size: 50M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
LD_PRELOAD: /clientdata/php/bin/nr_php_lib3.so
LSAPI_AVOID_FORK: 1
LSAPI_CHILDREN: 150
LSAPI_MAX_REQS: 10000
LSAPI_MAX_PROCESS_TIME: 300
LSAPI_SLOW_REQ_MSECS: 10000
USER: root
LOGNAME: root
HOME: /tmp
TMP: /phptmp
TMPDIR: /phptmp
TEMP: /phptmp
http_proxy: https://192.168.241.146:3128
https_proxy: https://192.168.241.146:3128
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.9,vi;q=0.8
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: PHPSESSID=5qhpahcmtp7en8k8nl0q2gs015; cmsa=1; __atuvc=11%7C47
HTTP_HOST: davidrussellphoto.com.au
HTTP_REFERER: https://davidrussellphoto.com.au/kontrol/core/settings/diagnostics/add-ons/
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_DNT: 1
DOCUMENT_ROOT: /clientdata/apache-www/d/a/davidrussellphoto.com.au/www
REMOTE_ADDR: 192.168.101.1
REMOTE_PORT: 61925
SERVER_ADDR: 192.168.101.26
SERVER_NAME: davidrussellphoto.com.au
SERVER_PORT: 80
REQUEST_URI: /kontrol/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /clientdata/apache-www/d/a/davidrussellphoto.com.au/www/kontrol/core/settings/diagnostics/index.php
QUERY_STRING: extended
SCRIPT_URI: https://davidrussellphoto.com.au/kontrol/core/settings/diagnostics/
SCRIPT_URL: /kontrol/core/settings/diagnostics/
SCRIPT_NAME: /kontrol/core/settings/diagnostics/index.php
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: LiteSpeed
REQUEST_METHOD: GET
X-LSCACHE: 1
PHP_SELF: /kontrol/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1511316799.6597
REQUEST_TIME: 1511316799
Simon Russell

Simon Russell 0 points

  • 3 years ago

I'm just thinking, could it have been an asset cleanup? I just spoke to the client and he only marked some images as a library asset. As these were only uploaded about 3 days ago, I presumed they'd be safe until I got to it today? In the meantime, I'll turn off the asset clean up.

Drew McLellan

Drew McLellan 2638 points
Perch Support

If an asset isn't used in any content items, isn't marked as a library asset, and is over 24 hours old it'll be removed.

You can mark them as library assets to prevent this - that's the purpose of that feature, for marking an unused asset as one to keep around.

Thanks Drew, when the client told me he hadn't marked them as library assets I figured as much but that was after my post. The only thing I thought strange was that they were all there until I used one, and then they were all removed - mid edit.

Anyway, good to know the 24hour time frame!

Thanks again!

Drew McLellan

Drew McLellan 2638 points
Perch Support

The clean-up is triggered by an edit.