Comments (6)
@jlegrone I am trying temporalite for the first time and indeed hitting this just as I do (following the README steps):
% go install github.com/temporalio/temporalite/cmd/temporalite@latest
go: downloading github.com/temporalio/temporalite v0.0.0-20220801155940-a4b633da82bc
% temporalite start --namespace default
2022/08/02 13:46:14 error setting up schema: unable to create SQLite admin DB: unable to open database file: out of memory (14)
If instead I do temporalite start --namespace default -f my_test.db
then it works
from temporalite-archived.
I'm a bit concerned about automatically creating a new directory. If this was due to a typo, then workflows could be started right away in the new database and merging state between the old and new databases would be tricky.
A change to improve the error message would be very welcome however!
from temporalite-archived.
@jlegrone Which OS did you run this on? I think this is similar to the problem I'm seeing on MacOS.
Using the default DB location:
~/go/bin/temporalite start --namespace local
2022/08/01 09:12:37 error setting up schema: unable to create SQLite admin DB: unable to open database file: out of memory (14)
Using a specified DB location where the parent directory does not exist:
~/go/bin/temporalite start --namespace local -f ~/notthere/my.db
2022/08/01 09:12:00 error setting up schema: unable to create SQLite admin DB: unable to open database file: out of memory (14)
from temporalite-archived.
@marchmallow can you confirm that you get a more explicit error message now that #99 is merged?
from temporalite-archived.
@marchmallow can you confirm that you get a more explicit error message now that #99 is merged?
@jlegrone yes now I see a meaningful error message:
% temporalite start --namespace default
2022/08/11 16:56:02 error setting up schema: stat /Users/max.gallo/Library/Application Support/temporalite/db: no such file or directory
So eg I created the dir and works:
% mkdir /Users/max.gallo/Library/Application\ Support/temporalite/db -p
% temporalite start --namespace default
{"level":"info","ts":"2022-08-11T16:57:05.983+0100","msg":"Successfully saved cluster metadata.","component":"metadata-initializer","cluster-name":"active","logging-call-at":"fx.go:631"}
from temporalite-archived.
@jlegrone I am trying temporalite for the first time and indeed hitting this just as I do (following the README steps):
% go install github.com/temporalio/temporalite/cmd/temporalite@latest go: downloading github.com/temporalio/temporalite v0.0.0-20220801155940-a4b633da82bc % temporalite start --namespace default 2022/08/02 13:46:14 error setting up schema: unable to create SQLite admin DB: unable to open database file: out of memory (14)
If instead I do
temporalite start --namespace default -f my_test.db
then it works
Got the same error and this command works for me
from temporalite-archived.
Related Issues (20)
- github.com/temporalio/ui-server/v2-v2.5.1: 2 vulnerabilities (highest severity is: 6.1) - autoclosed HOT 1
- github.com/temporalio/ui-server/v2-v2.6.0: 2 vulnerabilities (highest severity is: 6.1) - autoclosed HOT 1
- github.com/temporalio/ui-server/v2-v2.6.2: 2 vulnerabilities (highest severity is: 6.1) - autoclosed HOT 1
- Add detach option HOT 2
- Time skipping HOT 1
- Support for user specified server/sdk versions HOT 6
- Temporalite v0.2.0 fails to install HOT 4
- github.com/temporalio/ui-server/v2-v2.7.1: 2 vulnerabilities (highest severity is: 6.1) - autoclosed HOT 1
- When building as a git submodule, temporalite docker build fails to fetch VCS status
- github.com/temporalio/ui-server/v2-v2.8.0: 2 vulnerabilities (highest severity is: 6.1) - autoclosed HOT 1
- github.com/temporalio/ui-server/v2-v2.8.1: 2 vulnerabilities (highest severity is: 6.1) - autoclosed HOT 1
- github.com/temporalio/ui-server/v2-v2.8.3: 1 vulnerabilities (highest severity is: 4.3)
- temporalite homebrew HOT 2
- Misleading error is raised when host address is already binded locally.
- Error while installing temporalite HOT 1
- Can't terminate workflows from UI
- Temporalite Repository Migration
- Unable to upgrade to Temporal 1.20 due to missing Internal frontend configuration HOT 2
- Unable to run Temporalite in an environment where $HOME is not defined
- Docker release via GitHub packages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from temporalite-archived.