Skip to content

2.0.2: automatic updates on installations upgraded from 1.x - #37

Merged
XNinety9 merged 2 commits into
masterfrom
fix-update-old
Oct 26, 2026
Merged

XNinety9 merged 2 commits into
masterfrom
fix-update-old

Conversation

@XNinety9

Copy link
Copy Markdown
Owner

Remove the previous printr.old before keeping the current one: fs::copy failed with EPERM when it belonged to another user (install.sh, deploy.sh).

fs::copy opens an existing printr.old and then sets its permissions,
which the kernel refuses (EPERM) when the file belongs to another user:
the one left by install.sh (root) or scripts/deploy.sh. Every
installation upgraded from 1.x stopped before installing. /opt/printr
is group-writable, so the service can remove the file first.
@XNinety9
XNinety9 merged commit d159330 into master Oct 26, 2026
4 checks passed
@XNinety9
XNinety9 deleted the fix-update-old branch October 26, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant