-
-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yacy not updating when using Systemd service #652
Comments
is there anything related in the [log](https://yacy.net/operation/logging/)?
|
maybe, if you followed [this
guide](https://yacy.net/installation/unix-fullinstall/), the reason could be
using two separate accounts. the one that runs yacy (`yacy`), shouldn't have
permissions to modify itself, contrary to `yacyadm`. this privileges
separation is a security measure, so the remote attacker has worse position
in misusing exploited installation to infect binary itself. as a result, the
possiblity to install updates from menu could be limited, but i didn't try
myself.
|
I created a fresh lxc, installed yacy into [Unit]
Description=YaCy search server
After=network.target
[Service]
Type=forking
User=yacy
WorkingDirectory=/opt/yacy
ExecStart=/opt/yacy/startYACY.sh
ExecStop=/opt/yacy/stopYACY.sh
[Install]
WantedBy=multi-user.target I downloaded the latest update, pressed install, and got these logs:
Here are the logs from
|
okybaca
added
bug
Indicates an unexpected problem or unintended behavior
releasing
related to release process, artifacts
labels
Jul 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using the update function in the admin menu, yacy fails with exit code 1 and does not update. If running from shell, yacy updates and restarts.
The text was updated successfully, but these errors were encountered: