René's URL Explorer Experiment


Title: createWriteStream has problems in a CIFS mount path with node 20.x.x and node 18.18.0 · Issue #50061 · nodejs/node · GitHub

Open Graph Title: createWriteStream has problems in a CIFS mount path with node 20.x.x and node 18.18.0 · Issue #50061 · nodejs/node

X Title: createWriteStream has problems in a CIFS mount path with node 20.x.x and node 18.18.0 · Issue #50061 · nodejs/node

Description: Version 18.18.0 and 20.x.x Platform Linux iob-node20 6.2.16-5-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-6 (2023-07-25T15:33Z) x86_64 GNU/Linux Subsystem iobroker What steps will reproduce the bug? writestream into a cifs share How often does...

Open Graph Description: Version 18.18.0 and 20.x.x Platform Linux iob-node20 6.2.16-5-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-6 (2023-07-25T15:33Z) x86_64 GNU/Linux Subsystem iobroker What steps will reproduce the bug? writ...

X Description: Version 18.18.0 and 20.x.x Platform Linux iob-node20 6.2.16-5-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-6 (2023-07-25T15:33Z) x86_64 GNU/Linux Subsystem iobroker What steps will reproduce the bug? writ...

Opengraph URL: https://github.com/nodejs/node/issues/50061

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"createWriteStream has problems in a CIFS mount path with node 20.x.x and node 18.18.0","articleBody":"### Version\r\n\r\n18.18.0 and 20.x.x\r\n\r\n### Platform\r\n\r\nLinux iob-node20 6.2.16-5-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-6 (2023-07-25T15:33Z) x86_64 GNU/Linux\r\n\r\n### Subsystem\r\n\r\niobroker\r\n\r\n### What steps will reproduce the bug?\r\n\r\nwritestream into a cifs share \r\n\r\n### How often does it reproduce? Is there a required condition?\r\n\r\nError always occurs\r\n\r\n### What is the expected behavior? Why is that the expected behavior?\r\n\r\nThe file created with writestream should be written to the remote file system (CIFS share), but it is only 16Kb in size and corrupted\r\n\r\n### What do you see instead?\r\n\r\nA corrupted file with 16Kb instead of about 5-10 Mb\r\n\r\n### Additional information\r\n\r\nHello all,\r\n\r\nI hope you can help here... We use the package among other things for backups in the [iobroker project](https://github.com/ioBroker/ioBroker) and have with current node 20 versions and from node 18.18.0 problems with many users who write their backup directly with a CIFS mount on the Fritzbox NAS.\r\nCurrently, I am only aware of problems in connection with Fitzbox and CIFS.\r\n\r\nIt seems that all attempts since Node 18.18.0 have problems with \"fs.createWriteStream\"  or with .pipe.\r\nLocally on the system there are no problems. The error only occurs when the backup is to be written to the CIFS mount point.\r\n\r\nHere is an excerpt of how the create of the backup is constructed.\r\n\r\n```\r\nreturn new Promise((resolve, reject) => {\r\n            const f = fs.createWriteStream(name);\r\n            f.on('finish', () => {\r\n                this.removeTempBackupDir();\r\n                resolve(path.normalize(name));\r\n            });\r\n\r\n            f.on('error', e => {\r\n                console.error(`host.${this.hostname} Cannot pack directory ${this.tmpDir}/backup: ${e.message}`);\r\n                reject(new IoBrokerError({ message: e.message, code: EXIT_CODES.CANNOT_GZIP_DIRECTORY }));\r\n            });\r\n\r\n            try {\r\n                tar.create({ gzip: true, cwd: `${this.tmpDir}/` }, ['backup']).pipe(f);\r\n            } catch (e) {\r\n                console.error(`host.${this.hostname} Cannot pack directory ${this.tmpDir}/backup: ${e.message}`);\r\n                reject(new IoBrokerError({ message: e.message, code: EXIT_CODES.CANNOT_GZIP_DIRECTORY }));\r\n            }\r\n        });\r\n```\r\n","author":{"url":"https://github.com/simatec","@type":"Person","name":"simatec"},"datePublished":"2023-10-06T09:15:27Z","url":"https://github.com/nodejs/node/issues/50061"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d156248f-1e59-2092-1499-198935133ebc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id85F0:12B33:C563D5:FFA8C7:6B063F26
html-safe-nonce23d073aa419f4642d85797049f75bc7acdf0249e2cbb4fefc95d3d07696bcd0a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUYwOjEyQjMzOkM1NjNENTpGRkE4Qzc6NkIwNjNGMjYiLCJ2aXNpdG9yX2lkIjoiMTM2MjcyNTkwODU3ODE4OTA5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac031c9d90081830f122642390ab4587f3bd458a27161eeb74ad7972c33cbe46bd
hovercard-subject-tagissue:1929753541
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/nodejs/node/50061/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4de03e2173608c453b1fec455d7b9ad36363cdd1e7d75f54a153444969ab4b56/nodejs/node/issues/50061
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4de03e2173608c453b1fec455d7b9ad36363cdd1e7d75f54a153444969ab4b56/nodejs/node/issues/50061
og:image:altVersion 18.18.0 and 20.x.x Platform Linux iob-node20 6.2.16-5-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-6 (2023-07-25T15:33Z) x86_64 GNU/Linux Subsystem iobroker What steps will reproduce the bug? writ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesimatec
hostnamegithub.com
expected-hostnamegithub.com
Nonedcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
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
release0f38f5735226749ec5e08a8649dce4cb2613d9ad
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/50061#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F50061
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F50061
Sign uphttps://github.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=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/50061
Reloadhttps://github.com/nodejs/node/issues/50061
Reloadhttps://github.com/nodejs/node/issues/50061
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues629 (629)https://github.com/nodejs/node/issues
Pull requests658 (658)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/insights
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/50061
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/50061
createWriteStream has problems in a CIFS mount path with node 20.x.x and node 18.18.0https://github.com/nodejs/node/issues/50061#top
duplicatehttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22duplicate%22
fshttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22fs%22
stalehttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 6, 2023https://github.com/nodejs/node/issues/50061#issue-1929753541
#1https://github.com/nodejs/node/pull/1
iobroker projecthttps://github.com/ioBroker/ioBroker
Nexthttps://github.com/nodejs/node/issues/50061?timeline_page=1
simatechttps://github.com/simatec
on Oct 6, 2023https://github.com/nodejs/node/issues/50061#event-10572736687
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Oct 6, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1751103579
#49911https://github.com/nodejs/node/issues/49911
bnoordhuishttps://github.com/bnoordhuis
fshttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22fs%22
on Oct 6, 2023https://github.com/nodejs/node/issues/50061#event-10577714093
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 6, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1751385680
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 6, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1751429629
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Oct 7, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1751651260
bnoordhuishttps://github.com/bnoordhuis
not plannedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Oct 7, 2023https://github.com/nodejs/node/issues/50061#event-10581526547
bnoordhuishttps://github.com/bnoordhuis
duplicatehttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22duplicate%22
on Oct 7, 2023https://github.com/nodejs/node/issues/50061#event-10581526720
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 10, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1756119120
https://github.com/winnyschuster
winnyschusterhttps://github.com/winnyschuster
on Oct 10, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1756130877
#49911https://github.com/nodejs/node/issues/49911
one of the commentshttps://github.com/nodejs/node/issues/49911#issuecomment-1739699838
88ba79bhttps://github.com/nodejs/node/commit/88ba79b083517c5d0790ca1ba7d4e78cfd84c390
a4928b0https://github.com/nodejs/node/commit/a4928b069becbf37daf9985a073c169dcf302652
https://github.com/winnyschuster
winnyschusterhttps://github.com/winnyschuster
on Oct 11, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1758470858
@bnoordhuishttps://github.com/bnoordhuis
#49911https://github.com/nodejs/node/issues/49911
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Oct 11, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1758482494
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 11, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1758591249
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Oct 11, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1758615574
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 12, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1759319937
https://github.com/Grothesk242
Grothesk242https://github.com/Grothesk242
on Oct 13, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1761271102
…https://github.com/nodejs/node/issues/50061
@winnyschusterhttps://github.com/winnyschuster
https://github.com/winnyschusterhttps://github.com/winnyschuster
#50061 (comment)https://github.com/nodejs/node/issues/50061#issuecomment-1761195600
https://github.com/notifications/unsubscribe-auth/ANVE56JRJAS3U4QVCQRKYPTX7EBUHAVCNFSM6AAAAAA5VQOC5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRRGE4TKNRQGAhttps://github.com/notifications/unsubscribe-auth/ANVE56JRJAS3U4QVCQRKYPTX7EBUHAVCNFSM6AAAAAA5VQOC5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRRGE4TKNRQGA
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Oct 13, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1761286134
@simatechttps://github.com/simatec
https://github.com/Grothesk242
Grothesk242https://github.com/Grothesk242
on Oct 13, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1761303785
@simatechttps://github.com/simatec
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 13, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1761316958
@bnoordhuishttps://github.com/bnoordhuis
@Grothesk242https://github.com/Grothesk242
@winnyschusterhttps://github.com/winnyschuster
@Grothesk242https://github.com/Grothesk242
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Oct 13, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1762065749
9e68f94https://github.com/nodejs/node/commit/9e68f9413e05e6ecb3a1c15bc7c766a09e866cc0
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 15, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1763508692
commithttps://github.com/nodejs/node/pull/48078
#48078https://github.com/nodejs/node/pull/48078
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Oct 16, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1764061364
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 16, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1764205951
@bnoordhuishttps://github.com/bnoordhuis
iobrokerhttps://www.iobroker.net/#de/statistics
backup pluginhttps://github.com/simatec/ioBroker.backitup
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Oct 17, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1766014969
https://github.com/santigimeno
santigimenohttps://github.com/santigimeno
on Oct 17, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1766073195
@simatechttps://github.com/simatec
herehttps://wiki.samba.org/index.php/LinuxCIFS_troubleshooting#Enabling_Debugging
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 17, 2023https://github.com/nodejs/node/issues/50061#issuecomment-1766179545
cifs-smb2.loghttps://github.com/nodejs/node/files/12927798/cifs-smb2.log
cifs-smb3-1-1.loghttps://github.com/nodejs/node/files/12927799/cifs-smb3-1-1.log
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on May 27, 2026https://github.com/nodejs/node/issues/50061#issuecomment-4550558557
GitHub Actionshttps://help.github.com/en/actions
github-actionshttps://github.com/apps/github-actions
stalehttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
on May 27, 2026https://github.com/nodejs/node/issues/50061#event-25994399099
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Jun 28, 2026https://github.com/nodejs/node/issues/50061#issuecomment-4823973487
GitHub Actionshttps://help.github.com/en/actions
github-actionshttps://github.com/apps/github-actions
not plannedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Jun 28, 2026https://github.com/nodejs/node/issues/50061#event-27291751668
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/50061
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/50061
duplicatehttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22duplicate%22
fshttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22fs%22
stalehttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22stale%22
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.