Forum

Thread tagged as: Problem, Blog

Assets not appearing after upgrade

Hi Guys,

I upgraded from Perch v2.4.5 to the latest 2.5.3. However, the assets section is blank. None of the existing resources are appearing in the assets section.

The site currently only runs a blog facility (no pages, except a search page). It was an add-on after the site was static initially. However, I expect the images added in the blog via the image field type to appear in the assets section.

I have the site running locally only at the moment, as I wanted to install/upgrade and test before pushing live.

here are my diagnostics if this helps?

PERCH INFORMATION
Perch: 2.5.3
Production mode: Production (100)
Installed apps: content (2.5.3), assets (2.5.3), perch_blog (4.1)
DB driver: PDO
DB tables: perch2_blog_authors, perch2_blog_categories, perch2_blog_comments, perch2_blog_posts, perch2_blog_posts_to_categories, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, 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_scheduled_tasks, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 3
App runtimes:
<?php
    $apps_list = array( 'content', 'perch_blog' );
?>
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: markitup, redactor
H1: 6c0eec01b3ac17d93e270afec8804335
L1: a9cdc364ae882f186324ce49e08dbb01
headerColour: #eeeeee
content_singlePageEdit: 0
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
latest_version: 2.5.3
headerScheme: light
perch_blog_post_url: /blog/post.php?s={postSlug}
perch_blog_slug_format: %Y-%m-%d-{postTitle}
dashboard: 0
content_hideNonEditableRegions: 0
perch_blog_comment_notify: 1
logoPath: /cms/resources/logo-amasci-perch-orange.png
on_sale_version: 2.5.3
update_2.4.5: done
perch_blog_update: 4.0
perch_blog_akismet_key: 3bcde16ae807
perch_blog_max_spam_days: 7
content_frontend_edit: 0
update_2.5.3: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: root
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: talksocial
PERCH_DB_PREFIX: perch2_
PERCH_EMAIL_FROM: info@amasci.co.uk
PERCH_EMAIL_FROM_NAME: Terry Upton
PERCH_LOGINPATH: /cms
PERCH_PATH: /Users/amasci/Dropbox/Amasci/Websites/Talk Social/talksocial.co.uk/cms
PERCH_CORE: /Users/amasci/Dropbox/Amasci/Websites/Talk Social/talksocial.co.uk/cms/core
PERCH_RESFILEPATH: /Users/amasci/Dropbox/Amasci/Websites/Talk Social/talksocial.co.uk/cms/resources
PERCH_RESPATH: /cms/resources
PERCH_HTML5: 1
PERCH_SCHEDULE_SECRET: fM7PGgd4aGrybHP7
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: /Users/amasci/Dropbox/Amasci/Websites/Talk Social/talksocial.co.uk/cms/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
HOSTING SETTINGS

PHP: 5.4.19
Zend: 2.4.0
OS: Darwin
SAPI: apache2handler
Safe mode: not detected
MySQL client: 5.5.33
MySQL server: 5.5.33
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, SPL, iconv, json, ldap, mbstring, mysql, mysqli, session, PDO, pdo_sqlite, standard, posix, Reflection, Phar, SimpleXML, soap, sockets, exif, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, apache2handler, imap, gettext, mcrypt, yaz, pgsql, pdo_pgsql, pdo_mysql
GD: Yes
ImageMagick: No
PHP max upload size: 32M
PHP max form post size: 32M
PHP memory limit: 256M
Total max uploadable file size: 32M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
HTTP_HOST: talksocial.loc
HTTP_CONNECTION: keep-alive
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
HTTP_REFERER: https://talksocial.loc/cms/core/settings/diagnostics/
HTTP_ACCEPT_ENCODING: gzip,deflate,sdch
HTTP_ACCEPT_LANGUAGE: en-GB,en-US;q=0.8,en;q=0.6
HTTP_COOKIE: __utma=182860067.2055675872.1404382770.1404392490.1405415240.3; __utmc=182860067; __utmz=182860067.1404382770.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __atuvc=8%7C27%2C0%7C28%2C4%7C29; PHPSESSID=b6e5f26f60604d79f493d069f07f8862; cmsa=1
PATH: /usr/bin:/bin:/usr/sbin:/sbin
SERVER_SOFTWARE: Apache
SERVER_NAME: talksocial.loc
SERVER_ADDR: 127.0.0.1
SERVER_PORT: 80
REMOTE_ADDR: 127.0.0.1
DOCUMENT_ROOT: /Users/amasci/Dropbox/Amasci/Websites/Talk Social/talksocial.co.uk
SERVER_ADMIN: you@example.com
SCRIPT_FILENAME: /Users/amasci/Dropbox/Amasci/Websites/Talk Social/talksocial.co.uk/cms/core/settings/diagnostics/index.php
REMOTE_PORT: 64256
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: extended
REQUEST_URI: /cms/core/settings/diagnostics/?extended
SCRIPT_NAME: /cms/core/settings/diagnostics/index.php
PHP_SELF: /cms/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1405418297.55
REQUEST_TIME: 1405418297
argc: 1

I have testing uploaded a new assets and this seems to function fine.

Any ideas?

I have a couple of sites I want to upgrade so would like to get this one right first.

Terry Upton

Terry Upton 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Which version of Blog were you running when the assets were added?

I think it was version 3.8.2

Drew McLellan

Drew McLellan 2638 points
Perch Support

That should be ok. What happens if you go to: /perch/core/apps/assets/reindex

Just get a blank screen and then if I go back nothing has changed/happened.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, so I can't tell you the reason, but it looks like they're not going to show up.

Hmm OK no major drama. I will try another site upgrade and see what happens with that one...