10updocker postinstall --silent fails
See original GitHub issueIssue Description
Describe the bug
When installing v2.8 on arch linux with nvm and node v12.20.1 the 10updocker postinstall --silent fails with
Error : Command failed: /home/gbr/.nvm/versions/node/v12.20.1/lib/node_modules/wp-local-docker/node_modules/mkcert-prebuilt/1.2.0.bin -install
Some pointers:
Using the local CA at "/home/gbr/.local/share/mkcert" ✨
ERROR: failed to execute "certutil -A": exit status 255
certutil: function failed: SEC_ERROR_LEGACY_DATABASE: The certificate/key database is in an old, unsupported format.
An older version (2.7.0) of 10updocker was installing and running fine on node v10.0.0. Today I decided to update and got this error. Same happens on node stable v14.15.3.
Steps to Reproduce
- switch node version to 12.20.1 with
nvm install 12.20.1
- run
npm install -g wp-local-docker
- Error appears
Expected behavior installation finishes without errors
- Device: Acer Aspire 7
- OS: Arch Linux
Additional context
I tried to find solutions for certutil: function failed: SEC_ERROR_LEGACY_DATABASE: The certificate/key database is in an old, unsupported format.
to no avail.
EDIT: Until this is resoved, I downgraded to v2.7.0 on node 10.0.0 to be able to use this great tool
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (4 by maintainers)
@eugene-manuilov . Really great tool. ❤️ . One question What was the fix @issue176. The 2.8.1 is working well on my ubuntu (expept of the certs). on windows 10 it fails with the “.” issue. while installation
I managed to solve my problem with https://developer.wordpress.org/block-editor/tutorials/devenv/docker-ubuntu/