René's URL Explorer Experiment


Title: Bug: 'internxt login' does not persist config/session in non-interactive Docker environment · Issue #389 · internxt/cli · GitHub

Open Graph Title: Bug: 'internxt login' does not persist config/session in non-interactive Docker environment · Issue #389 · internxt/cli

X Title: Bug: 'internxt login' does not persist config/session in non-interactive Docker environment · Issue #389 · internxt/cli

Description: Describe the bug The internxt login command successfully authenticates when run non-interactively (e.g., via a startup script in Docker using environment variables for credentials), but it fails to create or update the configuration file...

Open Graph Description: Describe the bug The internxt login command successfully authenticates when run non-interactively (e.g., via a startup script in Docker using environment variables for credentials), but it fails to...

X Description: Describe the bug The internxt login command successfully authenticates when run non-interactively (e.g., via a startup script in Docker using environment variables for credentials), but it fails to...

Opengraph URL: https://github.com/internxt/cli/issues/389

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug: 'internxt login' does not persist config/session in non-interactive Docker environment","articleBody":"**Describe the bug**\nThe `internxt login` command successfully authenticates when run non-interactively (e.g., via a startup script in Docker using environment variables for credentials), but it fails to create or update the configuration file (`config.json` or similar) in the expected persistent location (`/config` mapped via `-v` and using `XDG_CONFIG_HOME=/config`). This results in the login being lost upon container restart. The manual, interactive `internxt login` via `docker exec` *also* reports success but fails to save the configuration persistently.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n1. Build a Docker container based on `debian:bullseye` with `nodejs` and `@internxt/cli@1.5.6` installed.\n2. Map a host volume to `/config` inside the container and set `ENV XDG_CONFIG_HOME=/config`.\n3. Run the container with `INTERNXT_EMAIL` and `INTERNXT_PASSWORD` environment variables set.\n4. Execute a startup script that runs `internxt login --email \"$INTERNXT_EMAIL\" --password \"$INTERNXT_PASSWORD\"`.\n5. Observe the logs: Login reports success (`Succesfully logged in to: ...`).\n6. Check the content of the `/config` directory (or `/config/internxt`): It remains empty.\n7. Restart the container: The startup script detects no stored login token.\n\n**Expected behavior**\nAfter a successful non-interactive or interactive `internxt login`, the `config.json` (or equivalent session file) containing the `authToken` should be reliably created/updated within the directory specified by `XDG_CONFIG_HOME`.\n\n**Actual behavior**\nLogin reports success, but no configuration file is created or updated in the persistent `/config` volume. The login state is lost on restart.\n\n**Environment:**\n* OS: Unraid (Docker Host)\n* Docker Base Image: `debian:bullseye`\n* `internxt-cli` version: `1.5.6` (installed via `npm install -g @internxt/cli@~1.5.6`)\n* Node.js version: v18\n\n**Additional context**\nWe have built a custom Unraid Docker template attempting to provide a stable WebDAV server. The full setup can be seen here: `https://github.com/syprix/unraid-internxt-cli/tree/main`\nExtensive troubleshooting confirmed network connectivity (ping, SSL cert check) is working correctly. The core issue seems to be the login command's failure to persist its state.\n\nWe initially attempted to use the latest version (`1.5.7`) but encountered a different bug where the `webdav enable` command failed with `Error: Nonexistent flags: --host, --port`, which led us to use version `1.5.6`. The login persistence issue exists in `1.5.6`.","author":{"url":"https://github.com/syprix","@type":"Person","name":"syprix"},"datePublished":"2025-10-18T11:35:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/389/cli/issues/389"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:06d58fd1-f115-1db1-7d9b-be877cafdce4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8DA0:23810A:22CFAF4:2CCE007:69928F43
html-safe-noncec644f5f322fe10a974c25aece8e66a0fb5fac6644b37efbf1c67af83767ba2f2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REEwOjIzODEwQToyMkNGQUY0OjJDQ0UwMDc6Njk5MjhGNDMiLCJ2aXNpdG9yX2lkIjoiMzIwNDU0NDE2MDA5NTk2NDk5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac064b86597ba9598075f2db9db42fb81780a05f21e36bb758a13fabe9d9cc7bd2
hovercard-subject-tagissue:3528693462
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/internxt/cli/389/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c6efba97793b4a217b29306027c29f76473a3e3194382b83885a0ddccdd35e5d/internxt/cli/issues/389
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c6efba97793b4a217b29306027c29f76473a3e3194382b83885a0ddccdd35e5d/internxt/cli/issues/389
og:image:altDescribe the bug The internxt login command successfully authenticates when run non-interactively (e.g., via a startup script in Docker using environment variables for credentials), but it fails to...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesyprix
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/internxt/cli git https://github.com/internxt/cli.git
octolytics-dimension-user_id30803427
octolytics-dimension-user_logininternxt
octolytics-dimension-repository_id753171546
octolytics-dimension-repository_nwointernxt/cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id753171546
octolytics-dimension-repository_network_root_nwointernxt/cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/internxt/cli/issues/389#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Finternxt%2Fcli%2Fissues%2F389
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Finternxt%2Fcli%2Fissues%2F389
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=internxt%2Fcli
Reloadhttps://patch-diff.githubusercontent.com/internxt/cli/issues/389
Reloadhttps://patch-diff.githubusercontent.com/internxt/cli/issues/389
Reloadhttps://patch-diff.githubusercontent.com/internxt/cli/issues/389
internxt https://patch-diff.githubusercontent.com/internxt
clihttps://patch-diff.githubusercontent.com/internxt/cli
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Finternxt%2Fcli
Fork 13 https://patch-diff.githubusercontent.com/login?return_to=%2Finternxt%2Fcli
Star 81 https://patch-diff.githubusercontent.com/login?return_to=%2Finternxt%2Fcli
Code https://patch-diff.githubusercontent.com/internxt/cli
Issues 30 https://patch-diff.githubusercontent.com/internxt/cli/issues
Pull requests 8 https://patch-diff.githubusercontent.com/internxt/cli/pulls
Actions https://patch-diff.githubusercontent.com/internxt/cli/actions
Projects 0 https://patch-diff.githubusercontent.com/internxt/cli/projects
Security 0 https://patch-diff.githubusercontent.com/internxt/cli/security
Insights https://patch-diff.githubusercontent.com/internxt/cli/pulse
Code https://patch-diff.githubusercontent.com/internxt/cli
Issues https://patch-diff.githubusercontent.com/internxt/cli/issues
Pull requests https://patch-diff.githubusercontent.com/internxt/cli/pulls
Actions https://patch-diff.githubusercontent.com/internxt/cli/actions
Projects https://patch-diff.githubusercontent.com/internxt/cli/projects
Security https://patch-diff.githubusercontent.com/internxt/cli/security
Insights https://patch-diff.githubusercontent.com/internxt/cli/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/internxt/cli/issues/389
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/internxt/cli/issues/389
Bug: 'internxt login' does not persist config/session in non-interactive Docker environmenthttps://patch-diff.githubusercontent.com/internxt/cli/issues/389#top
https://github.com/syprix
https://github.com/syprix
syprixhttps://github.com/syprix
on Oct 18, 2025https://github.com/internxt/cli/issues/389#issue-3528693462
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.