Code Monkey home page Code Monkey logo

install.surrealdb.com's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

install.surrealdb.com's Issues

wget-based installation will fail.

I had a look at index.sh to see how the latest version is installed and how I could automate the installation into /usr/local/bin. Whilst doing so, I noticed that the wget-variant would fail, as the downloaded index.html file is never read; wget --quiet does not print to stdout :)

Whilst on that note, aria2c - albeit nieche - might be a nice oalternative.

For determining the version:

aria2c -q --stderr=true $URL || fail
_ver=(cat index.html)
rm index.html

For downloading the bundle:

aria2c -q --stderr=true -o $filename $url

Hope it helps! =)

bash script for installing surreal binary not working: `sh: 58: 1: parameter not set`

Describe the bug

When trying to run
curl -sSf https://install.surrealdb.com | sh
the script terminates with this error
sh: 58: 1: parameter not set

this is my linux machine
Linux ubuntu 5.15.0-69-generic surrealdb/surrealdb#76~20.04.1-Ubuntu SMP Mon Mar 20 15:54:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

is there something wrong with my shell?

Please let me know if there is any other information I can provide.
Thank you!

Steps to reproduce

I have successfully installed the binary elsewhere.
It seems to only happen on this specific machine.

Expected behaviour

Successful installation?

SurrealDB version

cannot install in order to obtain version

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Linux Install Fails

Linux Installation with curl -k --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh fails with error:

"Fetching the latest database version..."
"Error: could not fetch the latest SurrealDB version number"

image

Add support for FreeBSD

FreeBSD apparently builds without problem, building binaries for this OS and adding support for it in the instal script should be trivial. The stable versions to target are FreeBSD 13.2 and FreeBSD 14

Bug: Linux Installation Failure

Describe the bug

Surreal database installation fails on Arch Linux - Garuda, when I execute the default command provided from https://surrealdb.com/install.

PS: If I run the command "curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh -s -- --nightly" the database installation succeeds.

Steps to reproduce

1 - Open the terminal
2 - TYpe the command : curl -sSf https://install.surrealdb.com | sh (at https://surrealdb.com/install)
print

Result: the command outputs "main: line 58: $1: unbound variable".

Expected behaviour

To install the database.

SurrealDB version

surreal for archlinux on x64

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

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.