Skip to content

Conversation

@kate-goldenring
Copy link
Collaborator

@kate-goldenring kate-goldenring commented Oct 29, 2024

fixes #216

Copy link
Member

@Mossaka Mossaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, can you add this to the CHANGELOG?

@kate-goldenring
Copy link
Collaborator Author

This is also capturing logs, so we need to configure the dir for kv/sqlite but not for logs.

Logging component stdio to "/.spin/logs/"
Storing default SQLite data to "/.spin/sqlite_db.db".

Serving http://0.0.0.0:80
Available Routes:
  todo-api: http://0.0.0.0:80/api (wildcard)
  fileserver: http://0.0.0.0:80 (wildcard)

@kate-goldenring
Copy link
Collaborator Author

Resolved logs not being displayed by explicitly unsetting the log dir.

Storing default SQLite data to "/.spin/sqlite_db.db".

Serving http://0.0.0.0:80
Available Routes:
  todo-api: http://0.0.0.0:80/api (wildcard)
  fileserver: http://0.0.0.0:80 (wildcard)
Getting todos
Handler returned an error: Error::Io("no such table: todos")
Initializing migration
Getting todos

Signed-off-by: Kate Goldenring <[email protected]>
@kate-goldenring kate-goldenring merged commit 45010e1 into spinframework:main Nov 5, 2024
8 checks passed
@kate-goldenring
Copy link
Collaborator Author

@Mossaka i am not sure what i would add to the CHANGLOG for this as this is a fix to ensure that we do not have a change in this release with regards to the state dir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spin state dir not being created

2 participants