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) »
  • Page not found on upgrade
Pages: [1]

Author Topic: Page not found on upgrade  (Read 1552 times)

rflemin

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
    • DCRCA (DC Recovery Community Alliance)
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Page not found on upgrade
March 22, 2010, 02:04:28 pm
I'm trying to upgrade to the latest CiviCRM (3.13?) and I go through all the steps until pointing my browser at mysite.org/civicrm/upgrade&reset=1 and I get a Page not found error. I've even tried cleaning everything out and treating it like a new installation.
Nothing works. I do have two things I don't understand: first, the CiviCRM module listing on Drupal/admin/modules is greyed out, whether I try to activate it or not; and second, I cannot erase/rename/move the old /sites/default/files directory because there is a a subdirectory called %%40 that I do not have permission to mess with, and cannot seem to reset any of my permissions. My SSH browser (Nautilus in a Ubuntu distribution) says it can't read any of the files in that directory.
I really like CiviCRM, and had it working in the earlier editions of Drupal and CiviCRM, but I just can't get this new version working. It doesn't even show up on the Drupal menu under Admin like it used to.
Any help much appreciated. I have to go punch a wall now. Thanks.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Page not found on upgrade
March 22, 2010, 05:34:04 pm
did you try getting to it via non-clean urls in case that's the issue?

also, why are you moving the sites/default/files directory? you shouldn't have to move that to upgrade civi. you only need to move out your sites/all/modules/civicrm folder (move it out of the webroot completely) and replace it with the new 3.1 civicrm folder.

the %40 folder, is it inside the sites/default/files/civicrm/templates_c folder? you should try to clear out that folder. do you have chown permissions? it's likely it's just owned by apache or something else and you can't erase it because of that. do you have cpanel or some  other way to change ownership?

rflemin

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
    • DCRCA (DC Recovery Community Alliance)
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Re: Page not found on upgrade
March 23, 2010, 07:18:17 am
I've tied both clean and unclean URLs, with no luck.
I was cleaning out the Files directory because the instructions say "remove all old code", and some of the Files content appeared to be CiviCRM-related. I don't think I can even move the %%40 directory, but I'll try.
I will look into the chown approach. I've never used it, but I can change permissions with the SSH browser that comes with Ubuntu. Not the same thing, I guess.
Thanks for the prompt feedback. Now I see that there is a new update for Drupal, so I guess I need to do that too.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Page not found on upgrade
March 23, 2010, 07:30:50 am
for 'remove old code' you should only be moving the civi module folder. the files folder can stay intact. if you have a backup from before you were moving/deleting things, try putting that back. i'm not sure that the upgrade would regenerate the initial folders since it's an upgrade and not an install. so that could be your issue.

rflemin

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
    • DCRCA (DC Recovery Community Alliance)
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Re: Page not found on upgrade
March 24, 2010, 07:21:34 am
Thanks. Restoring is my next task. I think another part of the problem is that I've been pointing CiviCRM at the Drupal database and not the CiviCRM database - I had trouble, initially, educating the ISP on what DB support I needed and now have to re-educate myself. Thanks again.

rflemin

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
    • DCRCA (DC Recovery Community Alliance)
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Re: Page not found on upgrade
March 25, 2010, 11:08:22 am
OK, I've followed the upgrade instructions to the letter, even downloading, unpacking, and uploading a new copy of CiviCRM 3.1.3. When I go to run the upgrade (clean URLs), all I get is File Not Found. CIVICRM shows up in the Drupal Modules list, but if I enable it, I get the White Screen of Death  on everything except the Admin page. My ISP confirms that the PHP.ini file is set for 128 Mb. Files has write permission. The civicrm.settings.php file has the correct entries for Drupal and CiviCRM databases.
Anybody got any new ideas?

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Page not found on upgrade
March 25, 2010, 11:22:57 am
You are not supposed to disable the CiviCRM module prior to upgrading. The upgrade won't work if you disable it. As stated in upgrade instructions: "Now un-check the Enabled box for ALL modules in the CiviCRM section of the modules listing EXCEPT for CiviCRM itself."

Since you're getting white screen of death when you try, go directly into your DB and change the status value to 1 manually.

Otherwise, revert back to your Civi install before you tried upgrading and start over without disabling the CiviCRM core module.


rflemin

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
    • DCRCA (DC Recovery Community Alliance)
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Re: Page not found on upgrade
March 26, 2010, 07:54:13 am
Thanks, Emily. I'll try that. I think we are working off different instructions, because I don't remember ever seeing the "disable all except CIVICRM" part. My instructions also say something about changing Drupal Global settings from the Drupal Admin page, and I have no Global settings on that page. Could you tell me where to find the instructions you recommend?
I have a feeling, at this point, that I have so royally messed up my CiviCRM DB that I should scrub it and start over. The fact that I get a WSOD whenever CiviCRM is enabled even though I have 128 Mb of memory available suggests to me that the DB is fried and overloading the startup process.
Thanks for the advice.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Page not found on upgrade
March 26, 2010, 09:05:44 am
Yeah, I would recommend you start over. Follow these instructions: http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrade+Drupal+Sites+to+3.1

rflemin

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
    • DCRCA (DC Recovery Community Alliance)
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Re: Page not found on upgrade
April 27, 2010, 02:22:06 pm
Just to close this out: I think my civicrm db was corrupted because I overwrote it by combining steps from an upgrade and a new install. When I did the upgrade again and pointed both drupal and civicrm to a shared drupal db, it worked well. I'm still having some post-install headaches, but I think they are unrelated to this problem. Thanks for all the advice, above.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Page not found on upgrade

This forum was archived on 2017-11-26.