-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest update causes Postgres errors when using mounted directory #1312
Comments
It seems the build linked in #1300 (comment) fixes this issue. Leaving it open for you to review. |
Nevermind, it does not. Happened again. |
Also having Problems with Volumes in an PHP App after the recent Update. Project worked fine but after updating Orbstack somehow the Framework (symfony) cannot build up a service container - no userland classes are available on service container (symfony) build. @kdrag0n this might have a big impact on many users? |
After a downgrade to 1.6.1 I can confirm that everything works fine again, so I can pinpoint it to the 1.6.3 as well. |
Chiming in with a very similar experience when writing to PostgreSQL -- doesn't need to be huge, but a good chunk... In my case I can easily reproduce by loading a 1 GB table or VACUUMing it. |
Just talked to the guys on discord, they are aware of the issue and can finally reproduce it. I don't think they will rollback the release though, the answer seems to be downgrading to 1.6.1 until there's a fix in >=1.6.4 The downgrade can be done stopping & removing the app and then installing 1.6.1 from here: https://docs.orbstack.dev/downgrade |
Thanks for the details, especially the size. We were able to put together a reproducer using a large dataset. Fixed for the next version. |
Released in v1.6.4. |
In Version 1.6.4 (17192), this error still exists:
|
Describe the bug
I have mounted a local directory into /var/lib/postgresql/data. I am then streaming data into this Postgres database (60+ million entries). While doing so, I get the following error:
Exception Npgsql.PostgresException (0x80004005): XX000: unexpected data beyond EOF in block 15313 of relation base/16384/16797
[...]
Exception data:
Severity: ERROR
SqlState: XX000
MessageText: unexpected data beyond EOF in block 15313 of relation base/16384/16797
Hint: This has been seen to occur with buggy kernels; consider updating your system.
File: bufmgr.c
Line: 1997
Routine: ExtendBufferedRelShared
This issue does not happen on version 1.6.1. I cannot verify whether it does or doesn't happen on 1.6.2 as that version is not available for download. I believe I was using 1.6.2 when it still worked, but cannot say for certain.
To Reproduce
Expected behavior
Data is written as normal. No error happened in version 1.6.1.
Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.6.3
Commit: 10d8fa4cb507142066b51b2febbd367720a5732a (v1.6.3)
System info:
macOS: 14.5 (23F79)
CPU: arm64, 11 cores
CPU model: Apple M3 Pro
Model: Mac15,6
Memory: 36 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-07-03T15-23-54.368356Z.zip
Screenshots and additional context (optional)
No response
The text was updated successfully, but these errors were encountered: