Skip to content

D7 to Backdrop upgrade, Backdrop expecting all core modules to be at incorrect path #4084

@kelizoliva

Description

@kelizoliva

Description of the bug
Working on an upgrade from Drupal 7.67 to Backdrop 1.14.0. Followed all upgrade steps outlined, and upgrade.php runs without any errors. The resulting upgraded Backdrop site is throwing warnings like the following:

Warning: require_once(/var/www/test/ptcrm/modules/user/user.pages.inc): failed to open stream: No such file or directory in require_once() (line 2461 of /var/www/test/ptcrm/core/modules/system/system.module).

This is the case for all core modules that I attempt to access. i untangled this problem by creating symbolic links in /var/www/test/ptcrm/modules to the corresponding (and correct) core modules directories in backdrop.

The settings.php file is unremarkable; I have $settings['backdrop_drupal_compatibility'] set to false and have made no custom changes to that file.

There are no other errors/warnings coming up that I feel relate to this issue, though additionally I am getting:

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'drupal_get_form' not found or invalid function name in system_block_view() (line 2464 of /var/www/test/ptcrm/core/modules/system/system.module).

Which I find somewhat suspicious (the path is correct here probably due to the sym link I have set for the system module).

I have retried the upgrade several times, and checked each of the modules (there aren't many) and what they are doing.

This is the first I have run into this issue with a D7 to Backdrop upgrade, and am at a loss as to what the underlying issue is.

Additional information
This is on a LAMP with debian 9.11 and Apache/2.4.25. There are other backdrop and drupal instances running on this machine with no issues.

Contrib modules installed in drupal database:
backup_migrate (disabled for upgrade), nagios (disabled for upgrade), civicrm (disabled for upgrade), webform, webform_civicrm (disabled for upgrade), redirect (no redirects configured)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions