msimerson / Mail-Toaster-6

Mail Toaster 6
https://github.com/msimerson/Mail-Toaster-6/wiki
BSD 3-Clause "New" or "Revised" License
46 stars 16 forks source link

Provision haraka fails #557

Closed rricker1 closed 10 months ago

rricker1 commented 10 months ago

Describe the bug Haraka fails

To Reproduce provision haraka

Expected behavior new haraka jail ispromoted

Server (please complete the following information):

Additional context error message:

Message from node16-16.20.1_1: -- Note: If you need npm (Node Package Manager), please install www/npm. -- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream EOL reaches on 2023-09-11. It is scheduled to be removed on or after 2023-09-30. ===== Message from git-lite-2.42.0: -- If you installed the GITWEB option please follow these instructions: In the directory /usr/local/share/examples/git/gitweb you can find all files to make gitweb work as a public repository on the web. All you have to do to make gitweb work is: 1) Please be sure you're able to execute CGI scripts in /usr/local/share/examples/git/gitweb. 2) Set the GITWEB_CONFIG variable in your webserver's config to /usr/local/etc/git/gitweb.conf. This variable is passed to gitweb.cgi. 3) Restart server. If you installed the CONTRIB option please note that the scripts are installed in /usr/local/share/git-core/contrib. Some of them require other ports to be installed (perl, python, etc), which you may need to install manually. jexec stage ln -s /usr/local/bin/python3 /usr/local/bin/python jexec stage npm install -g --omit=dev node-gyp npm notice npm notice New major version of npm available! 9.9.0 -> 10.2.1 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.1 npm notice Run npm install -g npm@10.2.1 to update! npm notice npm ERR! code EEXIST npm ERR! path /usr/local/bin/node-gyp npm ERR! EEXIST: file already exists npm ERR! File exists: /usr/local/bin/node-gyp npm ERR! Remove the existing file and try again, or run npm npm ERR! with --force to overwrite files recklessly. npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-10-21T19_35_39_314Z-debug-0.log 918 timing reify:rollback:retireShallow Completed in 0ms 919 timing command:install Completed in 3144ms 920 notice 920 notice New ^[[31mmajor^[[39m version of npm available! ^[[31m9.9.0^[[39m -> ^[[32m10.2.1^[[39m 920 notice Changelog: ^[[36mhttps://github.com/npm/cli/releases/tag/v10.2.1^[[39m 920 notice Run ^[[32mnpm install -g npm@10.2.1^[[39m to update! 920 notice 921 verbose stack Error: EEXIST: file already exists 921 verbose stack at failEEXIST (/usr/local/lib/node_modules/npm/node_modules/bin-links/lib/check-bin.js:47:32) 921 verbose stack at checkLink (/usr/local/lib/node_modules/npm/node_modules/bin-links/lib/check-bin.js:38:12) 921 verbose stack at async Promise.all (index 0) 921 verbose stack at async Function.checkBins (/usr/local/lib/node_modules/npm/node_modules/bin-links/lib/check-bins.js:15:3) 921 verbose stack at async Arborist.[checkBins] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:256:5) 921 verbose stack at async /usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:643:7 922 verbose cwd / 923 verbose FreeBSD 13.2-RELEASE-p4 924 verbose node v16.20.1 925 verbose npm v9.9.0 926 error code EEXIST 927 error path /usr/local/bin/node-gyp 928 error EEXIST: file already exists 929 error File exists: /usr/local/bin/node-gyp 930 error Remove the existing file and try again, or run npm 931 error with --force to overwrite files recklessly. 932 verbose exit 1 933 timing npm Completed in 3298ms 934 verbose unfinished npm timer reify 1697916939468 935 verbose unfinished npm timer reify:unpack 1697916941953 936 verbose unfinished npm timer reifyNode:node_modules/node-gyp 1697916941953 937 verbose code 1
msimerson commented 10 months ago

fixed.