CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • dead upgrade link on upgrading to 4.1.6 on drup 6.22
Pages: [1]

Author Topic: dead upgrade link on upgrading to 4.1.6 on drup 6.22  (Read 690 times)

Erich Schulz

  • I post frequently
  • ***
  • Posts: 142
  • Karma: 5
    • When no-one understands what you are going on about its time to start a blog
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.somthing
  • PHP version: 5.3.3
dead upgrade link on upgrading to 4.1.6 on drup 6.22
November 11, 2012, 07:06:06 am
ok I'm stuck on upgrading to 4.1.6 on drup 6.22

get as far as running the upgrade script

but get a dead upgrade link (i'e it doesn't go anywhere)

get the following in the log

include(/hsphere/local/home/antarqld/copya.antarqld.org.au/sites/default/files/civicrm/templates_c/en_US//%%06/06C/06C5296F%%jquery.files.tpl.php): failed to open stream: Permission denied in /hsphere/local/home/antarqld/copya.antarqld.org.au/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1263.

as a clue I could get the following line(s) of the instructions to execute properly

find . -type d -exec chmod a+rwx \{\} \+; find . -type d -exec chmod a+rwx\{\} \+

i get

find: -exec: no terminating ";" or "+"

any clues much apreciated

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: dead upgrade link on upgrading to 4.1.6 on drup 6.22
November 11, 2012, 01:09:10 pm
Delete everything in sites/default/files/civicrm/templates_c and try again.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Erich Schulz

  • I post frequently
  • ***
  • Posts: 142
  • Karma: 5
    • When no-one understands what you are going on about its time to start a blog
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.somthing
  • PHP version: 5.3.3
Re: dead upgrade link on upgrading to 4.1.6 on drup 6.22
November 11, 2012, 07:21:18 pm
thanks Hershel - i'll give that a go

any clues about the broken find/chmod command?

all versions of the wiki seem to have the same version - but it seems broken

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: dead upgrade link on upgrading to 4.1.6 on drup 6.22
November 12, 2012, 04:41:56 am
Quote from: Erich Schulz on November 11, 2012, 07:21:18 pm
any clues about the broken find/chmod command?

Not sure. Try forums at http://linuxquestions.org/ :)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Erich Schulz

  • I post frequently
  • ***
  • Posts: 142
  • Karma: 5
    • When no-one understands what you are going on about its time to start a blog
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.somthing
  • PHP version: 5.3.3
Re: dead upgrade link on upgrading to 4.1.6 on drup 6.22
November 13, 2012, 03:54:44 am
just confirming that Hersel's advice to delete the templates fixed my issue

thanks!!

had a permission problem with the files not being deleteable by my shell user (i don't have root priviliges on this box), so I had to get the the httpd user to delete them... sneakilly...

since i'm trying to do this all in bash...

    echo "<?php echo 'ok - they are gone now, phew'; system('rm -rf $t/sites/default/files/civicrm/templates_c'); " > $t/index1.php

then just hit http://myplaybox.example.com/index1.php

i think that broken chmod/find command is just an accidental duplication of the same command but not sure

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • dead upgrade link on upgrading to 4.1.6 on drup 6.22

This forum was archived on 2017-11-26.