Forum

Thread tagged as: Problem, Installation, Configuration

Perch hanging on Software update

Hi, just updating a site to latest Perch release, unfortunately it is hanging at Software Update page at Login. The fronted seems to be working fine.

What can I do to resolve this? I am updating from an early Perch 2 version to the latest as of today.

Thanks.....

Matthew Owen

Matthew Owen 0 points

  • 7 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

What do you mean by "hanging"?

Hi Rachel, I means its gets no further than the page with 'Software update' written. its stuck at that point. I no from other sites I have updated it is normally done in seconds.

looking at the source for the page it gives me an unfinished structure:

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Software Update</title> <!--[if lt IE 9]><link rel="stylesheet" href="/perch/core/assets/css/iebase.css?v=2.7.2" type="text/css" /><![endif]--> <link rel="stylesheet" href="/perch/core/assets/css/v2.css?v=2.7.2" type="text/css" /> <link rel="stylesheet" href="/perch/core/assets/css/720.css?v=2.7.2" type="text/css" media="only screen and (min-width: 720px)" /> <!--[if lt IE 9]><link rel="stylesheet" href="/perch/core/assets/css/720.css?v=2.7.2" type="text/css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" href="/perch/core/assets/css/ie7.css?v=2.7.2" type="text/css" /><![endif]--> <!--[if IE 6]><link rel="stylesheet" href="/perch/core/assets/css/ie6.css?v=2.7.2" type="text/css" /><![endif]-->

</head> <body class="sidebar-closed"> <div class="main"> <div class="body"> <div class="inner"> <h1>Software Update</h1>

            <ul class="updates">
Drew McLellan

Drew McLellan 2638 points
Perch Support

How long have you left it? It's possible to take a minute or two.

its been 4 hours or more, getting worried...

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, it's not going to do anything more after 4 hours. PHP will likely kill it after a couple of minutes.

You can run it over - it won't do any harm.

Have done, unfortunatly that's not solving it. Still on the same Software update page. it doesn't seem to be loading it at all. Should I try updating from an older version?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Does the site have a lot of content or assets?

I would say it is a small to medium website. Still, it appears to me as if the update is not moving forward at all.

Have now tried on all my machines, desktop, laptop, iphone, ipad under different browsers it is always the the same.

The update is failing, how can I reverse this?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Trying with different clients isn't going to help, as the work is being done on the server.

Is there anything in your server's PHP error log?

It's likely done the update but is stalling on the republish. Probably not a big deal. You can skip the process with:

/perch/core/update/?force=accept

Ok. That fixed it thank you. I don't see Assets in the back end, how do I check to see that function is working?

Drew McLellan

Drew McLellan 2638 points
Perch Support

If you don't see it and you're logged in as primary admin, then it's not. Which version are you running?

the latest: 2.7.2

Drew McLellan

Drew McLellan 2638 points
Perch Support

Which version were you updating from?

a very early 2 release, 2.2....

Drew McLellan

Drew McLellan 2638 points
Perch Support

Okay. Can you post your diagnostics report?

Perch: 2.7.2
Production mode: Production (100)
Installed apps: content (2.7.2), categories (2.7.2), perch_events (1.8), perch_forms (1,5), perch_gallery (2.8.5), perch_blog (3.6.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_tags, perch2_categories, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_events, perch2_events_categories, perch2_events_to_categories, perch2_forms, perch2_forms_responses, perch2_gallery_albums, perch2_gallery_image_versions, perch2_gallery_images, 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_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 5
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
        'perch_events',
        'perch_blog',
        'perch_forms',
        'perch_gallery',
    );
?>
Scheduled tasks for perch_events: update_category_counts (60 mins)
Editor plug-ins: ckeditor, markitup, redactor
H1: 50fd3c4c01eb61771dd46ada119d8899
L1: 85daa00cff33a8514adefa41eb4d88cf
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
hideBranding: 1
content_collapseList: 1
lang: german
update_2.1.4: done
latest_version: 2.5.3
headerScheme: light
dashboard: 0
content_hideNonEditableRegions: 0
logoPath: /perch/resources/1363448435_logokreis.png
perch_events_detail_url: /events/event.php?event={eventSlug}
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_comment_notify: 0
siteURL: https://www.quellhof.de/
perch_blog_post_url: ../blog/post.php?s={postSlug}
update_2.2.1: done
update_2.2.3: done
update_2.2.7: done
update_2.3.4: done
perch_events_update: 1.8
on_sale_version: 2.7.2
update_2.7.2: done
perch_gallery_update: 2.8.5
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: U1276886
PERCH_DB_SERVER: rdbms.strato.de
PERCH_DB_DATABASE: DB1276886
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: iphone@sdb-grafik.de
PERCH_EMAIL_FROM_NAME: Matthew Owen
PERCH_LOGINPATH: /perch
PERCH_PATH: /mnt/webl/d3/89/51640589/htdocs/2013/perch
PERCH_CORE: /mnt/webl/d3/89/51640589/htdocs/2013/perch/core
PERCH_RESFILEPATH: /mnt/webl/d3/89/51640589/htdocs/2013/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_PRODUCTION_MODE: 100
PERCH_DEBUG:
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_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /mnt/webl/d3/89/51640589/htdocs/2013/perch/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
HOSTING SETTINGS

PHP: 5.5.18
Zend: 2.5.0
OS: SunOS
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: 5.0.96
MySQL server: 5.5.37-log
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dbase, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, id3, idn, session, json, lzf, mailparse, mbstring, mcrypt, ming, mssql, mysql, mysqli, Zend OPcache, pcntl, standard, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, imap, SimpleXML, soap, sockets, SQLite, exif, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, yats, zip, cgi-fcgi, mhash
GD: Yes
ImageMagick: No
PHP max upload size: 32M
PHP max form post size: 48M
PHP memory limit: 128M
Total max uploadable file size: 32M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
TZ: MET
UNIQUE_ID: VGDXDMCoKrYAACs0siUAAADY
RZ_n: 51640589
RZ_a: :php=55:tpl=strato-standard:Rproxy:Cpremium:quota=120000MB:
RZ_path: webl/d3/89/51640589
SCRIPT_URL: /perch/core/settings/diagnostics/
SCRIPT_URI: https://quellhof.de/perch/core/settings/diagnostics/
DOCUMENT_ROOT: /home/strato/http/premium/rid/05/89/51640589/htdocs
RZ_php: 55
PHPRC: /home/strato/http/premium/rid/05/89/51640589/htdocs/2013/
HTTP_HOST: quellhof.de
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: cmsa=1; PHPSESSID=ds8th85s6j60ee0367hscgnjt1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10) AppleWebKit/600.1.25 (KHTML, like Gecko) Version/8.0 Safari/600.1.25
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_REFERER: https://quellhof.de/perch/core/settings/diagnostics/
HTTP_ACCEPT_ENCODING: gzip, deflate
PATH: /usr/bin:/bin
SERVER_SOFTWARE: Apache/2.2.29 (Unix)
SERVER_NAME: quellhof.de
SERVER_PORT: 80
REMOTE_ADDR: 92.74.167.233
SERVER_ADMIN: service@webmailer.de
SCRIPT_FILENAME: /home/strato/http/premium/rid/05/89/51640589/htdocs/2013/perch/core/settings/diagnostics/index.php
REMOTE_PORT: 49608
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: extended
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1415632652,0662
REQUEST_TIME: 1415632652
argc: 1
Drew McLellan

Drew McLellan 2638 points
Perch Support

You need to update Blog, Events and Forms.

Did you not get a shorter diagnostics report than this? I'm not convinced you're fully updated.

Yes, not got round to updating those as yet - will do. Here is the short Report:

Diagnose-Informationen anzeigen Diagnose-Report HEALTH CHECK

Perch is up to date PHP 5.5.18 is up to date MySQL 5.5.37-log is up to date Image processing available SUMMARY INFORMATION

Perch: 2.7.2, PHP: 5.5.18, MySQL: 5.0.96, with PDO Server OS: SunOS, cgi-fcgi Installed apps: content (2.7.2), categories (2.7.2), perch_events (1.8), perch_forms (1,5), perch_gallery (2.8.5), perch_blog (3.6.1) App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_events', 'perch_blog', 'perch_forms', 'perch_gallery', ); ?> PERCH_LOGINPATH: /perch PERCH_PATH: /mnt/webl/d3/89/51640589/htdocs/2013/perch PERCH_CORE: /mnt/webl/d3/89/51640589/htdocs/2013/perch/core PERCH_RESFILEPATH: /mnt/webl/d3/89/51640589/htdocs/2013/perch/resources Image manipulation: GD PHP limits: Max upload 32M, Max POST 48M, Memory: 128M, Total max file upload: 32M Resource folder writeable: Yes DOCUMENT_ROOT: /home/strato/http/premium/rid/05/89/51640589/htdocs HTTP_HOST: quellhof.de REQUEST_URI: /perch/core/settings/diagnostics/ SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

Drew McLellan

Drew McLellan 2638 points
Perch Support

As per the update notes, you need to update those apps. The versions you have are incompatible and will cause problems.