surrealdb / install.surrealdb.com Goto Github PK
View Code? Open in Web Editor NEWThe script for installing SurrealDB on unix operating systems
Home Page: https://install.surrealdb.com
License: Apache License 2.0
The script for installing SurrealDB on unix operating systems
Home Page: https://install.surrealdb.com
License: Apache License 2.0
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! =)
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!
I have successfully installed the binary elsewhere.
It seems to only happen on this specific machine.
Successful installation?
cannot install in order to obtain version
No response
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"
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
if anyone else is getting this error, mine was in fresh deb 11 server,
just replace == with = in line or add double brackets and keep == in line 224
https://github.com/surrealdb/install.surrealdb.com/blob/fe4756cb1ac07717497b9e3d37adfd840ccca1a1/index.sh#L224C5-L224C44
I've opened a PR
#12
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.
1 - Open the terminal
2 - TYpe the command : curl -sSf https://install.surrealdb.com | sh (at https://surrealdb.com/install)
Result: the command outputs "main: line 58: $1: unbound variable".
To install the database.
surreal for archlinux on x64
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.