Cannot import redirects

Created on 29 November 2022, almost 2 years ago
Updated 6 December 2023, 11 months ago

Problem/Motivation

Cannot import redirects.
Getting error:
"The specified file 'migrate.csv' could not be copied because the destination directory 'temporary://path_redirect
_import' is not properly configured. This may be caused by a problem with file or directory permissions."

The temp directory is configured in settings.php, and recognised by the site.

Drupal version: 9.4.8
Drush version: 11.3.2

Steps to reproduce

Installed and enabled module and dependencies.
Placed the migrate.csv file in root of site.
Ran drush path_redirect_import:import migrate.csv

Proposed resolution

Ideally a better description of procedures and requirements. More detailed error message.

💬 Support request
Status

Closed: cannot reproduce

Version

2.0

Component

Miscellaneous

Created by

🇩🇰Denmark S@ilor

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇷France ericdsd France

    I had the same issue directly trying from drush, i needed to create path_redirect_import directory in my temp as the module couldn't do it itself.
    I guess it could be done on module install for convenience.

  • Status changed to Closed: cannot reproduce 11 months ago
  • 🇪🇸Spain plopesc Valladolid

    Thank you for reporting.

    That bug has been already addressed as part of 2.0.8

Production build 0.71.5 2024