acme.sh icon indicating copy to clipboard operation
acme.sh copied to clipboard

Rerunning --install fails to generate backups

Open mrandreastoth opened this issue 1 year ago • 5 comments

I successfully execute "acme.sh --install" but whenever I repeat the command it generates two errors ("cp: cannot create regular file : Permission denied") because of a duplicated forward-slash in the backup path, as per the following...

<sub-path>/backup//<file>.bak

mrandreastoth avatar Dec 01 '23 16:12 mrandreastoth

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

github-actions[bot] avatar Dec 01 '23 16:12 github-actions[bot]

I installed just yesterday, but I'll upgrade just in case.

mrandreastoth avatar Dec 01 '23 16:12 mrandreastoth

Yep, as I suspected: already up-to-date.

mrandreastoth avatar Dec 01 '23 16:12 mrandreastoth

The debug output doesn't display anything else that would suggest an issue in the variables...

acme-error

mrandreastoth avatar Dec 01 '23 16:12 mrandreastoth

I performed another --upgrade today and this time there was a new version awaiting. However, the new version has not resolved the issue.

mrandreastoth avatar Dec 06 '23 13:12 mrandreastoth