Skip to main content
Tags
Link
Laryn
  • 8.3k
  • 1
  • 15
  • 45
Clean up code formatting
Source Link
Laryn
  • 8.3k
  • 1
  • 15
  • 45

In following the procedure outlined in http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Locationoutlined in the Wiki II find that in stepStep 10 "log("log into drupal") I'm seeing the message "Page not found The requested page "/" could not be found."Page not found The requested page "/" could not be found. The drupal menu is not there. The login form is there, and once I log in I get the 404 message "The requested URL /civicrm was not found on this server."The requested URL /civicrm was not found on this server.

error_log: File does not exist: /var/www/html/civicrm,

error_log:  File does not exist: /var/www/html/civicrm,

When I try drush: drush up --debug --uri htp://mycivi.site.org Starting Drush preflight. [0.03 sec, 4.12 MB] [preflight] Cache HIT cid: 7.0.0-commandfiles-0-81cc86c1995ab7206f383ec28ad43baf [0.05 sec, 4.21 MB] [debug] Bootstrap to phase 0. [0.2 sec, 10.22 MB] [bootstrap] Bootstrap to phase 6. [0.2 sec, 10.22 MB] [bootstrap] Command pm-update needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command. [0.2 sec, 10.22 MB] [error] The drush command 'up htp://mycivi.site.org' could not be executed. [0.2 sec, 10.23 MB] [error]

drush up --debug  --uri htp://mycivi.site.org
Starting Drush preflight. [0.03 sec, 4.12 MB]                                                                                                                                                                                                           [preflight]
Cache HIT cid: 7.0.0-commandfiles-0-81cc86c1995ab7206f383ec28ad43baf [0.05 sec, 4.21 MB]                                                                                                                                                                    [debug]
Bootstrap to phase 0. [0.2 sec, 10.22 MB]                                                                                                                                                                                                               [bootstrap]
Bootstrap to phase 6. [0.2 sec, 10.22 MB]                                                                                                                                                                                                               [bootstrap]
Command pm-update needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command. [0.2 sec, 10.22 MB]                                                                              [error]
The drush command 'up htp://mycivi.site.org' could not be executed. [0.2 sec, 10.23 MB]                                                                                                                                                     [error]

Source server drupal path = /var/www/vhosts/contacts/httpdocs target/var/www/vhosts/contacts/httpdocs

Target server drupal path = /var/www/html/var/www/html

In following the procedure outlined in http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location I find that in step 10 "log into drupal" I'm seeing the message "Page not found The requested page "/" could not be found." The drupal menu is not there. The login form is there, and once I log in I get the 404 message "The requested URL /civicrm was not found on this server."

error_log: File does not exist: /var/www/html/civicrm,

When I try drush: drush up --debug --uri htp://mycivi.site.org Starting Drush preflight. [0.03 sec, 4.12 MB] [preflight] Cache HIT cid: 7.0.0-commandfiles-0-81cc86c1995ab7206f383ec28ad43baf [0.05 sec, 4.21 MB] [debug] Bootstrap to phase 0. [0.2 sec, 10.22 MB] [bootstrap] Bootstrap to phase 6. [0.2 sec, 10.22 MB] [bootstrap] Command pm-update needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command. [0.2 sec, 10.22 MB] [error] The drush command 'up htp://mycivi.site.org' could not be executed. [0.2 sec, 10.23 MB] [error]

Source server drupal path = /var/www/vhosts/contacts/httpdocs target server drupal path = /var/www/html

In following the procedure outlined in the Wiki I find that in Step 10 ("log into drupal") I'm seeing the message Page not found The requested page "/" could not be found. The drupal menu is not there. The login form is there, and once I log in I get the 404 message The requested URL /civicrm was not found on this server.

error_log:  File does not exist: /var/www/html/civicrm,

When I try drush:

drush up --debug  --uri htp://mycivi.site.org
Starting Drush preflight. [0.03 sec, 4.12 MB]                                                                                                                                                                                                           [preflight]
Cache HIT cid: 7.0.0-commandfiles-0-81cc86c1995ab7206f383ec28ad43baf [0.05 sec, 4.21 MB]                                                                                                                                                                    [debug]
Bootstrap to phase 0. [0.2 sec, 10.22 MB]                                                                                                                                                                                                               [bootstrap]
Bootstrap to phase 6. [0.2 sec, 10.22 MB]                                                                                                                                                                                                               [bootstrap]
Command pm-update needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command. [0.2 sec, 10.22 MB]                                                                              [error]
The drush command 'up htp://mycivi.site.org' could not be executed. [0.2 sec, 10.23 MB]                                                                                                                                                     [error]

Source server drupal path = /var/www/vhosts/contacts/httpdocs

Target server drupal path = /var/www/html

Source Link

Migration to new server - "The requested page "/" could not be found."

In following the procedure outlined in http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location I find that in step 10 "log into drupal" I'm seeing the message "Page not found The requested page "/" could not be found." The drupal menu is not there. The login form is there, and once I log in I get the 404 message "The requested URL /civicrm was not found on this server."

error_log: File does not exist: /var/www/html/civicrm,

When I try drush: drush up --debug --uri htp://mycivi.site.org Starting Drush preflight. [0.03 sec, 4.12 MB] [preflight] Cache HIT cid: 7.0.0-commandfiles-0-81cc86c1995ab7206f383ec28ad43baf [0.05 sec, 4.21 MB] [debug] Bootstrap to phase 0. [0.2 sec, 10.22 MB] [bootstrap] Bootstrap to phase 6. [0.2 sec, 10.22 MB] [bootstrap] Command pm-update needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command. [0.2 sec, 10.22 MB] [error] The drush command 'up htp://mycivi.site.org' could not be executed. [0.2 sec, 10.23 MB] [error]

I'm guessing the drupal restore from the source server did something to the drupal database on the target server that changed a path.

Source server drupal path = /var/www/vhosts/contacts/httpdocs target server drupal path = /var/www/html

Do these paths have to be identical for a migration to work? Or is there something else I'm doing wrong?