Giter VIP home page Giter VIP logo

Comments (13)

philippemnoel avatar philippemnoel commented on July 2, 2024

Hey @DeoLeung. I've noticed a similar issue. Could you please share your full Dockerfile?

If not, can you try giving permission to your user to the Postgres extension directory like this:

sudo chown -R $(whoami) /usr/share/postgresql/16/ /usr/lib/postgresql/16/ /var/lib/postgresql/16/

from paradedb.

DeoLeung avatar DeoLeung commented on July 2, 2024

granting permission doesn't help, here is the updated Dockerfile

from paradedb.

philippemnoel avatar philippemnoel commented on July 2, 2024

@DeoLeung The issue has been diagnosed and fixed. This is resolved in v0.7.3. Apologies for the issue.

It is fixed in #1204. We were building on the wrong arch. Sorry about that!

Note that we are also updating the URL for extensions in Releases, since we're now adding support for more OSes. This will only happen once, apologies for the inconvenience.

from paradedb.

DeoLeung avatar DeoLeung commented on July 2, 2024

just built 0.7.3 using debian 12 deb. it seems still illegal instruction on arm/m1

from paradedb.

philippemnoel avatar philippemnoel commented on July 2, 2024

just built 0.7.3 using debian 12 deb. it seems still illegal instruction on arm/m1

Investigating

from paradedb.

philippemnoel avatar philippemnoel commented on July 2, 2024

Hi @DeoLeung. I've investigated this further. I believe the issue is due to how we pass cpu=native when compiling on ARM. I'll let you know once the fix is in.

I'm pretty sure this is the culprit: https://github.com/paradedb/paradedb/pull/1138/files

Could you please test v0.7.1 and let me know if it works? You said v0.7.0 works?

from paradedb.

philippemnoel avatar philippemnoel commented on July 2, 2024

Nvm^ The issue has been diagnosed. We're pushing a hotfix to v0.7.3 today to fix the issue with ARM prebuilt binaries. Thank you for your patience

from paradedb.

DeoLeung avatar DeoLeung commented on July 2, 2024

hmmm..., seems still failing :(

from paradedb.

philippemnoel avatar philippemnoel commented on July 2, 2024

hmmm..., seems still failing :(

Could you share your dockerfile? I am also on an M1 Mac and I can't reproduce, perhaps with your Dockerfile I am able to reproduce?

Do you have a cached volume that might be using an old version?

from paradedb.

DeoLeung avatar DeoLeung commented on July 2, 2024

Dockerfile updated the dockerfile

it was built by ci on an arm server and I saw it should have been rebuilt, I will build it locally on my mac to see if it works later today.

from paradedb.

philippemnoel avatar philippemnoel commented on July 2, 2024

Dockerfile updated the dockerfile

it was built by ci on an arm server and I saw it should have been rebuilt, I will build it locally on my mac to see if it works later today.

Could you test again? I've pushed a new version to v0.7.3. There was an edge case left, which I fixed and confirmed with another user's Dockerfile. Your Dockerfile is a bit more involved, so it would be easier if you tested yourself with your CI version. I'm hopeful this time it will work.

from paradedb.

DeoLeung avatar DeoLeung commented on July 2, 2024

thanks you, it works now :)

from paradedb.

philippemnoel avatar philippemnoel commented on July 2, 2024

thanks you, it works now :)

Yay! Apologies for the back-and-forth and thank you for your patience. This shouldn't happen again.

from paradedb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.