2

I installed Drupal 7 and when I try to add the civicrm (version 5.19.1) module into it, I get next error message on the web interface of Drupal:

Unable to extract symbolic link {temporary://update-extraction-0a20b282/civicrm/vendor/pear/log/README.rst}

and the module is not installed. I would like to know how to solve this.

  • The tar.gz archive contains a broken symbolic link: civicrm/vendor/pear/README.rst pointing to an unexisting docs/guide.txt file. – Pierre François Nov 14 at 13:30
  • Are you following the instructions at docs.civicrm.org/sysadmin/en/latest/install/drupal7 ? – Demerit Nov 14 at 20:59
  • Yes. Where I have the alternative, I choose: "As administrator in Drupal, go to Modules, click on Install New Module , and it will ask you to fill in the URL of the module. It will then fetch it and install it for you". – Pierre François Nov 14 at 21:23
3

I see what you're saying. Thanks for reporting. I've never used that alternative before. I believe it's coming from this line where it excludes the docs folder so the symlink is no longer valid.

https://github.com/civicrm/civicrm-core/blob/5.19.1/distmaker/dists/common.sh#L166

I've made a ticket at https://lab.civicrm.org/dev/core/issues/1393

0

I'm getting the same error in 5.19.3 upgrade install:

tar: civicrm/vendor/pear/log/README.rst: Cannot create symlink to 'docs/guide.txt': No such file or directory tar: Exiting with failure status due to previous errors

Is there a work around?

  • Yes, the workaround is to upgrade from the command line interface and to extract the files from the tar.gz achive. If you don't have access to the hosting system with the shell, extract the tar.gz archive on your own desktop/laptop, remove the offending civicrm/vendor/pear/log/README.rst symbolic link and copy the remaining extracted files to the remote directory. – Pierre François Nov 30 at 10:00
  • 1
    This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review – Luke Stewart Dec 2 at 4:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.