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) »
  • Redirection on from upgrade URL
Pages: [1]

Author Topic: Redirection on from upgrade URL  (Read 1346 times)

Jens-Erik

  • I post occasionally
  • **
  • Posts: 60
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.4
Redirection on from upgrade URL
June 03, 2014, 12:35:31 pm
Hello,

I have a strange redirection problem when I try to upgrade a CiviCRM 4.3.7 installation on Drupal (well, the problem has been there for a while now). The site works more or less (some access problems , but only recently). So I wonder if there is something wrong with the Apache or Drupal configuration. I use SSL. Also in the past I had some problems, but then I managed it somehow to upgrade, but now I'm stuck.

When I enter the upgrade URL http:// or https://severname.org/civicrm/upgrade?reset=1 (server name changed of course), I get redirected to my Drupal profile user/1

The Apache log access_log says:
.... - - [03/Jun/2014:21:00:47 +0200] "GET /community/user/1 HTTP/1.1" 302 313 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0"
127.0.0.1 - - [03/Jun/2014:21:00:53 +0200] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (CentOS) (internal dummy connection)"
[...]
.... - - [03/Jun/2014:21:05:43 +0200] "GET /community/civicrm/upgrade?reset=1 HTTP/1.1" 302 330 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0"

plus several more "internal dummy connections", whatever this may be.

In the ssl_access_log there is:
.... - - [03/Jun/2014:21:05:43 +0200] "GET /community/civicrm/upgrade?reset=1 HTTP/1.1" 302 4917
.... - - [03/Jun/2014:21:05:43 +0200] "GET /community/user/1 HTTP/1.1" 200 49743

Usually I have a redirection from http to https the httpd.conf:

<VirtualHost *:80>
        Redirect / https://severname.org./
</VirtualHost>
RedirectMatch ^/$ /community/

(Currently only the community directory (Drupal & CiviCRM) is on the server, that's why I redirect there)
But even if I comment out these redirections, it's still the same: I'll also get redirected to my profile when I use the http upgrade URL.

Does anybody have an idea what's going wrong?

Thanks in advance!



Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Redirection on from upgrade URL
June 05, 2014, 10:20:54 am
What other modules do you have enabled? Google Analytics?
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.

Jens-Erik

  • I post occasionally
  • **
  • Posts: 60
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.4
Re: Redirection on from upgrade URL
June 16, 2014, 12:42:56 am
No, I don’t have Google Analytics or another none-core statistics module like Piwik installed. But anyway, that might be an idea: to deactivate some modules, at least for updating. Here is my list of activated modules (including core modules)

ACL
Aggregator
Backup and Migrate
Block
CAPTCHA
Chain Menu Access API
CiviCRM
CiviCRM Theme (deactivated for update like advised in the instructions))
CiviGroup Roles Sync (deactivated for update like advised in the instructions))
CiviMember Roles Sync (deactivated for update like advised in the instructions))
Color
Contact
Content Access
Contextual links
Dashboard
Database logging
Field SQL storage
Field UI
File
Filter
Forum
Forum Access
Help
Image
Image CAPTCHA
jQuery Update
Libraries
List
Menu
Menu Per Role
Module filter
Node
Number
OpenID
OpenID Selector
OpenID Selector Inline
Options
Overlay
Path
Poll
RDF
reCAPTCHA
Search
Secure Pages
Shortcut
Statistics
Syslog
System
Taxonomy
Text
Toolbar
Tracker
Update manager
User
Wysiwyg

Jens-Erik

  • I post occasionally
  • **
  • Posts: 60
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.4
Re: Redirection on from upgrade URL
December 25, 2014, 04:42:46 am
Helo,

I’m still struggling with this problem. I’m doing this website voluntarily, so I couldn’t spend much time since I first reported the problem.

Deacticating modules didn’t help. Now I’ve copied the whole site (files and Drupal and CiviCRM databases) to my Mac with XAMPP. The site works like on the sever, but also with the same update problem. I get redirected to my profile page when calling the db upgrade script.

Any advice what to do? As I have the same issue on XAMP, I can exclude an Apache misconfiguration. Is there something wrong with the database? Is ther a way to repair it in this case? Or should I export the data to CSVs and import them on a fresh install?

Jens

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Redirection on from upgrade URL
December 25, 2014, 07:02:03 am
Is the site also in a subdirectory on your local install? It shouldn't be an issue, but perhaps that's causing a problem.

The other thing is your theme--what theme do you use?
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.

Jens-Erik

  • I post occasionally
  • **
  • Posts: 60
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.4
Re: Redirection on from upgrade URL
December 25, 2014, 07:30:23 am
Quote from: Hershel on December 25, 2014, 07:02:03 am
Is the site also in a subdirectory on your local install? It shouldn't be an issue, but perhaps that's causing a problem.

Yes, it’s also in a subdirectory. I’ve created a symlink from /var/www/html to the XAMPP htdocs directory, so that I didn’t have to change the paths.

So I’ll try to move the Drupal directory to the web server root or make a CiviCRM multi site installation. (I reserved the root directory for the main website and used Drupal/CiviCRM for the members’ section. But actually it’s not necessary as we use a sub domain for the members’ site.

Quote from: Hershel on December 25, 2014, 07:02:03 am
The other thing is your theme--what theme do you use?
Marinelli as standard, Seven for administration and Bartik (Drupal default theme) for CiviCRM. But I deactivate the module CiviCRM theme for upgrading as you should deactivate all CiviCRM modules except CiviCRM itself. Okay, I’m going to try Bartik.

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

This forum was archived on 2017-11-26.