Skip to content

Comments

System{Info,Logs}: use sh instead of bash#167

Merged
paktusov merged 1 commit intomainfrom
62-fix-system-info-logs-500-error
Feb 6, 2026
Merged

System{Info,Logs}: use sh instead of bash#167
paktusov merged 1 commit intomainfrom
62-fix-system-info-logs-500-error

Conversation

@HenkKalkwater
Copy link
Contributor

Bash is not available in Alpine images. In
bb1ce0a, the Docker image was changed to Alpine from Debian, which caused 500 errors in the SystemInfoViewSet and SystemLogsViewSet.

Now it calls "sh" instead of "/bin/bash", which should be more portable across different distributions. Since no bash-exclusive features were used, this was trivial.

Fixes #62

Bash is not available in Alpine images. In
bb1ce0a, the Docker image was changed to Alpine
from Debian, which caused 500 errors in the SystemInfoViewSet and
SystemLogsViewSet.

Now it calls "sh" instead of "/bin/bash", which should be more portable
across different distributions. Since no bash-exclusive features were used,
this was trivial.

Fixes #62
@paktusov
Copy link
Collaborator

paktusov commented Feb 2, 2026

@HenkKalkwater I suggest adding tests to monitor this functional

@HenkKalkwater
Copy link
Contributor Author

@paktusov Given that this code interacts with the system, which may give different results depending on where you run it, when you run it et cetera, what should I test?

Should I simply tests whether the methods give some non-error outputs or would you suggest something else?

@paktusov paktusov merged commit 56768c7 into main Feb 6, 2026
2 checks passed
@paktusov paktusov deleted the 62-fix-system-info-logs-500-error branch February 6, 2026 12: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.

Workspace settings 500 errors for system-info and system-logs

2 participants