Forum
Updated to the latest version (2.8.8) and all assets have dissapeared
So yeah... uploaded to the 2.8.8. and all of the assets disappeared. The folder is there and all the assets are actually there but when I log in and go to assets, there is nothing showing? Diagnostics below:
Perch: 2.8.8
Production mode: Production (100)
Installed apps: content (2.8.8), assets (2.8.8), categories (2.8.8), perch_forms (1.8.3), perch_shop_paypal (1.2.2)
DB driver: PDO
DB tables: perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_shop_categories, perch2_shop_log, perch2_shop_orders, perch2_shop_product_options, perch2_shop_products, perch2_shop_products_to_categories, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 3
App runtimes:
<?php
$apps_list = array(
'content',
'categories',
'perch_shop_paypal',
);
Editor plug-ins: ckeditor, markitup
H1: 757008005c120d36a4a0e327782058bd
L1: b37fbe8c35408356952d6eefee107fac
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
update_2.8.4: done
latest_version: 2.8.8
on_sale_version: 2.8.8
headerScheme: light
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
logoPath: /ucontrol/resources/ucontrol.png
perch_shop_paypal_email:
perch_shop_product_url: /shop/product.php?s={productSlug}
perch_shop_display_oos: 1
update_2.8.8: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: industri16_db
PERCH_DB_SERVER: 10.169.0.7
PERCH_DB_DATABASE: industri16_db
PERCH_DB_PREFIX: perch2_
PERCH_TZ: Europe/London
PERCH_EMAIL_FROM: steven@designbyconet.com
PERCH_EMAIL_FROM_NAME: Steven Legge
PERCH_LOGINPATH: /ucontrol
PERCH_PATH: /var/sites/i/industrialsuppliesni.co.uk/public_html/ucontrol
PERCH_CORE: /var/sites/i/industrialsuppliesni.co.uk/public_html/ucontrol/core
PERCH_RESFILEPATH: /var/sites/i/industrialsuppliesni.co.uk/public_html/ucontrol/resources
PERCH_RESPATH: /ucontrol/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_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /var/sites/i/industrialsuppliesni.co.uk/public_html/ucontrol/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
HOSTING SETTINGS
PHP: 5.6.8
Zend: 2.6.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $
MySQL server: 5.6.21
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, json, ldap, mbstring, mcrypt, mssql, standard, mysql, mysqlnd, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, imap, SimpleXML, soap, sockets, exif, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, memcached, memcache, mhash, ionCube Loader, Zend Guard Loader
GD: Yes
ImageMagick: No
PHP max upload size: 100M
PHP max form post size: 100M
PHP memory limit: 128M
Total max uploadable file size: 100M
Resource folder writeable: Yes
Session timeout: 240 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
DOCUMENT_ROOT: /var/sites/w/www.industrialsuppliesni.co.uk/public_html
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8,fr;q=0.6
HTTP_CONNECTION: close
HTTP_COOKIE: _ga=GA1.3.1717191198.1432223181; cmsa=1; PHPSESSID=c90b12705dc5dbe406dbabebb77c64fb
HTTP_HOST: www.industrialsuppliesni.co.uk
HTTP_REFERER: https://www.industrialsuppliesni.co.uk/ucontrol/core/settings/diagnostics/
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
HTTP_X_FORWARDED_FOR: 82.153.18.230
PATH: /bin
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 82.153.18.230
REMOTE_PORT: 52937
REQUEST_METHOD: GET
REQUEST_URI: /ucontrol/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /var/sites/w/www.industrialsuppliesni.co.uk/public_html/ucontrol/core/settings/diagnostics/index.php
SCRIPT_NAME: /ucontrol/core/settings/diagnostics/index.php
SERVER_ADDR: 10.168.1.215
SERVER_ADMIN: you@example.com
SERVER_NAME: www.industrialsuppliesni.co.uk
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
PHP_SELF: /ucontrol/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1435830866.38
REQUEST_TIME: 1435830866
argc: 1
Does running the update again help?
Nope... triple checked the FTP and it seems all the files from the /perch/resources folder have disappeared?? Why would this have happened? I have a backup of (most) the resources but it's very odd theyve been removed...
Earlier you said that they were there. At what point did they go?
Did you get any messages during the update?
I only checked the first few resources and assumed they were all there but apparently not so I can only guess it happened at the first update.
I didn't get an error message during or after the update. I'm currently uploading all the resources again to the resources folder but they don't seem to be showing in the backend just yet.
Also, what do I do with this: /perch/core/update?force=update (sorry!?)
My diagnostics looks like below this now if it's changed any?
PERCH INFORMATION
Perch: 2.8.8 Production mode: Production (100) Installed apps: content (2.8.8), assets (2.8.8), categories (2.8.8), perch_forms (1.8.3), perch_shop_paypal (1.2.2) DB driver: PDO DB tables: perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_shop_categories, perch2_shop_log, perch2_shop_orders, perch2_shop_product_options, perch2_shop_products, perch2_shop_products_to_categories, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users Users: 3 App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_shop_paypal', ); Editor plug-ins: ckeditor, markitup H1: 757008005c120d36a4a0e327782058bd L1: b37fbe8c35408356952d6eefee107fac headerColour: #ffffff content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 1 content_collapseList: 1 lang: en-gb update_2.8.4: done latest_version: 2.8.8 on_sale_version: 2.8.8 headerScheme: light dashboard: 0 hide_pwd_reset: 0 content_hideNonEditableRegions: 0 content_frontend_edit: 0 logoPath: /ucontrol/resources/ucontrol.png perch_shop_paypal_email: perch_shop_product_url: /shop/product.php?s={productSlug} perch_shop_display_oos: 1 update_2.8.8: done PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: industri16_db PERCH_DB_SERVER: 10.169.0.7 PERCH_DB_DATABASE: industri16_db PERCH_DB_PREFIX: perch2_ PERCH_TZ: Europe/London PERCH_EMAIL_FROM: steven@designbyconet.com PERCH_EMAIL_FROM_NAME: Steven Legge PERCH_LOGINPATH: /ucontrol PERCH_PATH: /var/sites/i/industrialsuppliesni.co.uk/public_html/ucontrol PERCH_CORE: /var/sites/i/industrialsuppliesni.co.uk/public_html/ucontrol/core PERCH_RESFILEPATH: /var/sites/i/industrialsuppliesni.co.uk/public_html/ucontrol/resources PERCH_RESPATH: /ucontrol/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_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /var/sites/i/industrialsuppliesni.co.uk/public_html/ucontrol/templates PERCH_DEFAULT_DOC: index.php PERCH_DEFAULT_EXT: .php PERCH_PRODUCTION_MODE: 100 PERCH_RWD: PERCH_HTML_ENTITIES: PERCH_SSL: PERCH_STRIPSLASHES: PERCH_PROGRESSIVE_FLUSH: 1 PERCH_AUTH_PLUGIN: PERCH_DB_CHARSET: utf8 PERCH_DB_PORT: PERCH_DB_SOCKET: HOSTING SETTINGS
PHP: 5.6.8 Zend: 2.6.0 OS: Linux SAPI: cgi-fcgi Safe mode: not detected MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $ MySQL server: 5.6.21 Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, json, ldap, mbstring, mcrypt, mssql, standard, mysql, mysqlnd, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, imap, SimpleXML, soap, sockets, exif, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, memcached, memcache, mhash, ionCube Loader, Zend Guard Loader GD: Yes ImageMagick: No PHP max upload size: 100M PHP max form post size: 100M PHP memory limit: 128M Total max uploadable file size: 100M Resource folder writeable: Yes Session timeout: 240 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: No DOCUMENT_ROOT: /var/sites/w/www.industrialsuppliesni.co.uk/public_html GATEWAY_INTERFACE: CGI/1.1 HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8 HTTP_ACCEPT_ENCODING: gzip, deflate, sdch HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8,fr;q=0.6 HTTP_CONNECTION: close HTTP_COOKIE: _gat=1; _ga=GA1.3.1717191198.1432223181; PHPSESSID=f25b4b60f65f862e0fd83d98154a4bee; cmsa=1 HTTP_HOST: www.industrialsuppliesni.co.uk HTTP_REFERER: https://www.industrialsuppliesni.co.uk/ucontrol/core/settings/diagnostics/ HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36 HTTP_X_FORWARDED_FOR: 82.153.18.230 PATH: /bin QUERY_STRING: extended REDIRECT_STATUS: 200 REMOTE_ADDR: 82.153.18.230 REMOTE_PORT: 44222 REQUEST_METHOD: GET REQUEST_URI: /ucontrol/core/settings/diagnostics/?extended SCRIPT_FILENAME: /var/sites/w/www.industrialsuppliesni.co.uk/public_html/ucontrol/core/settings/diagnostics/index.php SCRIPT_NAME: /ucontrol/core/settings/diagnostics/index.php SERVER_ADDR: 10.168.1.215 SERVER_ADMIN: you@example.com SERVER_NAME: www.industrialsuppliesni.co.uk SERVER_PORT: 80 SERVER_PROTOCOL: HTTP/1.1 SERVER_SOFTWARE: Apache PHP_SELF: /ucontrol/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1435841331.21 REQUEST_TIME: 1435841331 argc: 1
Probably better to roll back to your backup and try to upload things manually!
That was a URL, so for you it should be
Very, very odd.
When I visit that url it says it's been updated successfully but still no images in my assets (in the backend) but they're all there when I go to /ucontrol/resources...
I'll try my backup of Perch and see what happens.
Is it possible to share a copy of your backup with us?
I'd prefer to email it if possible? Will I open a support ticket?
Sure, just email us a Dropbox link or whatever's handy.
I just downgraded to the previous version and it still doesn't show the assets :(
I'll email you now.
OK I need an email address... oops!
hello@grabaperch.com
Did you restore the database and your files? If that hasn't put things back to how they were it sounds like something else is going on with the environment, not just the Perch update.
I foolishly didn't make a backup of the database, just Perch as I've upgraded endless amounts of licenses and never experienced this.
Never worry, we'll get it sorted.
Does your
perch2_resources
table list all the assets still?Nope :(
They're gone forever!
OK so I spoke with my host and they make up backups of databases twice a day - hurrah!
I imported the backup from 2 days ago and got it has returned the images and the assets... I'll try updating perch in a day or two and see what happens...
Thanks Drew.
Great - could you grab a copy of the working site and database, so that if it happens again we can try to reproduce it?