Memos - A privacy-first, lightweight note-taking service.
-
It seems @randyjc forgot about it. Perhaps @Kubernetes likes it.
@robi I started to create an initial package and uploaded the current state to my Gitlab Repo.
However, following problems are still to solve:
- The memos binary seems to use the same part as binary for location of the sqlite database
- The current build dies because of read-only of /app/code (simple to solve, because this is just caused by a chown command)
- But even when the read-only problem for chown is solved, the memos binary throws an error, but because the terminal is reset so fast, I cannot read what the error is.
- More errors may be there, but not yet visible
If anyone want to contribute, that would be great!
-
@robi I started to create an initial package and uploaded the current state to my Gitlab Repo.
However, following problems are still to solve:
- The memos binary seems to use the same part as binary for location of the sqlite database
- The current build dies because of read-only of /app/code (simple to solve, because this is just caused by a chown command)
- But even when the read-only problem for chown is solved, the memos binary throws an error, but because the terminal is reset so fast, I cannot read what the error is.
- More errors may be there, but not yet visible
If anyone want to contribute, that would be great!
@Kubernetes make sure to set the HOME env to /app/data and see if that helps with the paths.
You can log/redirect the output of the binary to a file.
-
@Kubernetes make sure to set the HOME env to /app/data and see if that helps with the paths.
You can log/redirect the output of the binary to a file.
-
@robi I tried already to execute the memos binary in /app/data but received an segmentation fault error!?
@Kubernetes that's odd, but sounds like it expects other files to be there, so it may as well run from /app/code
what's the error there?
-
It complains that /var/opt/memos is unavailable (which is true)
-
It complains that /var/opt/memos is unavailable (which is true)
@Kubernetes aha! does the binary have --help options to set that elsewhere?
From GH:
The~/.memos/directory will be used as the data directory on your local machine, while/var/opt/memosis the directory of the volume in Docker and should not be modified.HOME will take care of .memos
-d (--data) will set the data dir -
Great, now the app starts in Cloudron, but in Browser I just get "No frontend embeded." now
-
Ok, I still miss the frontend compilation
-
Ok, I still miss the frontend compilation
@Kubernetes there is no separate FE app, so is the port set up right? there is also the -m prod|dev option but not sure what the difference is.
-
In Dockerfile the frontend is build separately in another stage build. I missed that. Just trying to get this done.
-
In Dockerfile the frontend is build separately in another stage build. I missed that. Just trying to get this done.
@Kubernetes You're right, forgot that it was a mix.
there may also be a MEMOS_DATA env to set at the bottom. -
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
-
N nebulon locked this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login