Repository navigation
Conversation
Self-hosted, multi-company/branch/warehouse billing, inventory, and accounting platform with India GST/e-Invoice/e-Way Bill support. Double-entry accounting, no subscription, no mandatory cloud dependency. Images (ghcr.io/raktim94/rechvix-server:0.1.0, ghcr.io/raktim94/rechvix-worker:0.1.0) are published and live on GHCR. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UCYv9KHDaaAjfbC8HLRLy6
…runtime role Mirrors the fix already verified in the source repo (Raktim94/rechvix). app and worker crash-looped forever with "password authentication failed for user billing_app" on every install: the runtime role is normally created by a real init script bind-mounted from the git clone, but a CasaOS install has no repo access, so that bind mount starts out empty. Added a postgres-init one-shot service (same postgres:18 image, no new image needed) that generates the role-creation SQL onto that host directory before postgres starts. Verified end-to-end against the real published GHCR images in the source repo before porting here: fresh install (all 4 containers healthy), confirmed billing_app still has zero DDL privileges (RLS/role-separation intact), a real login and a real bootstrap request both hit the database and return proper responses, and a restart cycle doesn't break it.
Pure comment shortening, no behavior change.
Mirrors the fix in the source repo. $BILLING_APP_PASSWORD inside the postgres-init heredoc was being blanked by Docker Compose's own file-level interpolation before the container ever ran (CasaOS's interpolation context has no such variable — only the container's own runtime environment does). Escaped to $$BILLING_APP_PASSWORD so compose leaves it for the container's shell to expand correctly. Reproduced and fixed against a real CasaOS instance via its actual install API, not just local testing.
…polation) Mirrors the corrected fix in the source repo. CasaOS's real install path interpolates the compose file twice; two dollar signs only survive one pass. Verified against a real CasaOS instance's actual install API: uninstall, reinstall with this fix, all three containers healthy, real login request returns a proper response.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DhuyHfECppdhHt7xsu8ML6
postgres-init tried to smuggle BILLING_APP_PASSWORD through the
container's own shell via an unquoted heredoc as $$$$BILLING_APP_PASSWORD,
betting on how many times CasaOS's install path re-interpolates $$. That
bet was wrong even for a single pass: $$ inside an unquoted heredoc is the
shell's PID variable, not an escape, so billing_app got created with a
literal garbage password and app/worker crash-looped on auth failure.
Rewritten to use plain ${BILLING_APP_PASSWORD} compose interpolation (the
same mechanism already working correctly everywhere else in this file)
plus \gexec instead of a $$-delimited DO block, so there's no $ left for
compose or the shell to mangle. Verified end-to-end with real Docker
Compose against the published GHCR images: postgres/migrate/app/worker
all come up healthy.
Also repointed icon/thumbnail/screenshot_link at this branch instead of
IceWhaleTech/CasaOS-AppStore@main, since PR IceWhaleTech#1045 is still unmerged and
that path 404s right now.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GMkbWQzc6bgBZmX5cu2da1
Same fix as main: postgres-init tried to smuggle BILLING_APP_PASSWORD
through the container's own shell via an unquoted heredoc, which broke
even on a single interpolation pass. Rewritten to use plain
${BILLING_APP_PASSWORD} compose interpolation plus \gexec instead of a
$$-delimited DO block.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GMkbWQzc6bgBZmX5cu2da1
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GMkbWQzc6bgBZmX5cu2da1
Raktim94
pushed a commit
to Raktim94/CasaOS-AppStore
that referenced
this pull request
Sep 8, 2026
postgres-init tried to smuggle BILLING_APP_PASSWORD through the
container's own shell via an unquoted heredoc as $$$$BILLING_APP_PASSWORD,
betting on how many times CasaOS's install path re-interpolates $$. That
bet was wrong even for a single pass: $$ inside an unquoted heredoc is the
shell's PID variable, not an escape, so billing_app got created with a
literal garbage password and app/worker crash-looped on auth failure.
Rewritten to use plain ${BILLING_APP_PASSWORD} compose interpolation (the
same mechanism already working correctly everywhere else in this file)
plus \gexec instead of a $$-delimited DO block, so there's no $ left for
compose or the shell to mangle. Verified end-to-end with real Docker
Compose against the published GHCR images: postgres/migrate/app/worker
all come up healthy.
Also repointed icon/thumbnail/screenshot_link at this branch instead of
IceWhaleTech/CasaOS-AppStore@main, since PR IceWhaleTech#1045 is still unmerged and
that path 404s right now.
|
…voices, multi-country tax
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Adds Rechvix 0.15.2 (AGPL-3.0), open-source business software connecting invoicing, CRM, multi-warehouse stock, purchasing and double-entry accounting, with tax workpapers for India, Spain, the UK and the US.