Page MenuHomeDevCentral

No environment for Alkane service on hervil
Closed, ResolvedPublic

Description

When called through HTTP request, Alkane doesn't seem to have $PATH defined in environment, so it can't run anything defined in init or update scripts.

[2024-06-12T20:51:10Z INFO  alkane::server::requests] Deploying admin.mail.nasqueron.org
[2024-06-12T20:51:10Z INFO  alkane::runner] Running command /usr/local/libexec/alkane/admin.mail.nasqueron.org/init with args []
[2024-06-12T20:51:10Z WARN  alkane::runner] Channel stderr: /usr/local/libexec/alkane/admin.mail.nasqueron.org/init: git: not found

Here for example, git is called by /usr/local/libexec/alkane/admin.mail.nasqueron.org/init script.

Can be repro with curl -X POST http://172.27.27.3:10206/init/admin.mail.nasqueron.org.

Revisions and Commits