-
Updating docker instance via docker compose fails
2024-11-20 23:36tl;dr
I removed the line user:"1000:1000" and it worked.
Thank you 88250 for the answer, though very vague and did not explain anything except what I already knew - that what I'm doing does not work. Simply writing "concept changed, remove this line" would save me a few hours of debugging.
For others that may run in a similar problem in the future:
Apparently, the build process changed a little bit. It seems to be reflected in the documentation at
you avoid the need to explicitly set the
user
directive (user: '1000:1000'
) in the compose file"avoid the need to explicitly set" means to me that it is optional and when given it will be taken into consideration. Whereas the 'user' directive seems to be now completetly skipped, or misused (perhaps the format is wrong?) and the
PUID
andPGID
are taken into account. My user and group are default, hence I don't have to add those values in theenvironment
section.Problem solved.
-
Updating docker instance via docker compose fails
2024-11-07 20:38PS2: I also tried running it with docker run command. Also, same thing.
-
Updating docker instance via docker compose fails
2024-11-07 03:09PS: I tried running with sudo - same thing.
-
Setting up siyuan with docker and exposing it with cloudflare
2024-09-24 17:09Nevermind... I just found out I did not assign the default folder to uid and gid 1000, which in my case was the default ubuntu user... It works!
-
Setting up siyuan with docker and exposing it with cloudflare
2024-09-24 16:25Thanks for your help too. But I'm stuck...
I successfully created a group siyuan with a gid 1000, but a user with uid 1000 already exists. I thought I might just use that user, added it to the group 1000. I also created the default folder /siyuan/workspace/ and changed ownership of both (siyuan and siyuan/workspace) folders to 1000:1000.
Docker-compose file is pretty much the same, I only added 6808:6808 to ports, so I can publish notes without edition rights. After doing docker compose up I get the following message in a loop:
main-1 | E 2024/09/24 10:20:05 working.go:282: create os tmp dir [/siyuan/workspace/temp/os] failed: mkdir /siyuan/workspace/temp: permission denied
Did I forgot to do something? Or did something wrong?
My rig is Raspberry Pi with Ubuntu 22.04.5 LTS.
-
Sync Between Android and PC in SiYuan
2024-06-27 22:35There are four ways you can achieve this:
- First is through the paid version - you buy SiYuan licence and use their sync service
- Second, also paid - you need to buy the licence and you will be able to use third party sync services
- (for advanced users) You can use a docker image to host your SiYuan, and connect via local lan connection
- Keep your SiYuan on the mobile app, and connect on computers via web app, that each app can host
-
'Add to Database' question
2024-05-09 23:52Those are great answers, thanks. I was looking for this.
Just one more thing remains though...
Can I display block's attributes inside of it?
-
How can I perform more complicated math in database?
2024-04-09 14:14Thanks for the reply! I'll find another way then! 👍