Please, if you could post links in the description for in-video topics that you recommend checking out in your other videos, like your custom docker network, it would be greatly appreciated!
How do you deal with permission issues? I’ve wanted to have my appdata folder editable from both SMB and code server and there are issues. Usually you need to play around with the PID a and GID. It be good if you could cover that if you think it’s worth your time.
@@insomniawu9717 the container doesn't come configured with PUID and PGID. Once I add those 99 and 100 respectively, my permissions issues seem to have disappeared.
Great video, can't wait for the 2022 authelia video. Already got a release date for it? As I just wanted to install it and don't know if its still worth setting up the "old way" if there is something new probably coming very soon.
It must be a permission issue. Make sure the code server has the same user/group permissions as the folders your trying to access. If for example the files/folder are owned by root, a lower down user would not be able to access those files. If your running the container as that user it will not be able to access those files either
Yea did you pair this with self hosted git lab server and runners for code push, review automation and backup. Also does container storage if you want to make your own unraid docker server.
Can we also run commands through the server? That would eliminate the need to go back to run docker-compose up in the terminal when you finished setting up the yml config in the code-server.
Holy cow.... Following the updated authalia tutorial and this came up as a good way to edit code.... I WISH I KNEW ABOUT THIS SOONER! lol Again super easy to follow and use after your explanation, this is going to make editing stuff so much easier than having to VPN into my desktop and work through file shares 🤣🤣
If you need to add a Python interpretter to code-server. Head to Code-Server Settings. Add new Variable at the bottom. Name: DockerMod Key: DOCKER_MODS Value: linuxserver/mods:code-server-python3 This will intialize a python3 interpreter when starting up code-server.
THANKYOU! I had hard time figuring out why python wasnt working. I often just copy and paste whatever the error is and hope the top result will answer my question but for awhile now I couldnt figure it out. Then I found this. Greatly appreciate it.
Did you ever get hashed passwords to work? Per the documentation it says to use the instructions _echo -n "thisismypassword" | npx argon2-cli -e_ which I ran into issues running on both my VPS and my local environment (WSL). I was able to find a different way to generate a argon2 hash but even though the values look the same when I add it to my docker compose the container tries to process that key as several different (empty) variables.
@@IBRACORP Looks like the linuxserver docs reference the method by the coder repository which does not work. You need to leave your HASH variables outside of quotes and then prefix every $ with $$ so docker doesn't try to parse it as a variable.
Hi followed your instructions but I can't seem to get full write access to my mnt > array share. Some files are writable (eg. for swag) others are not, like the configuration file for homeassistant. I then get a "(NoPermissions (FileSystemError): Error: EACCES: permission denied" error. Same with writing to my private documents share. no write access there. Any ideas what might be the issue? should code server use root instead of the nobody:users puid/guid?
Same problem here. This use to work fine, and I'm guessing after a recent Unraid update code-server can no longer write to appdata files. The sudo password set in the Docker config doesn't work either.
After I installed the docker following your video I've got a 404 Not found error. I looked into the log and not error. I do not understand how to fix this :-(
@@IBRACORP thanks for the answer. No I don't have it installed. I will look at your video about it and try to resolve it this way by installing it. BTW thanks for all your video, always very interesting, I am a faithfull follower ;-)
Thank you for a wonderful guide. There is a problem, that I can not understand why it happens. I installed the plugin for YAML - and each time I close the browser and restart, the YAML plugin is inactive. Should do desable and after that enable
Good video man I'm looking forward to trying to get this to work. When I put that optional path in and the configuration. And then I go into the code server. That folder isn't open. It won't even let me access that folder. There's something that I did wrong
Very useful thanks! After installing the Python plugin I was able to instantly compile and run some of my Python projects, but I am having some issues with the Java plugin as it requires an existing JDK to set JAVA_HOME. Is it possible to install a JDK for the container?
I have not tested it yet, but if it is as usuall, I belive just connect to container with shell, then apt update, and command for installing JAVA you need. Also will be needed probably to create Volume where will be stored the file containing PATH and JAVA files itself, so you do not need to repeat it after container reset. Or you could add the Java from your server, by mounnting the Java to the Container and then I think you can select the JAVA location in VSCode settings, at least for Python I could define path
Hi, I am a non-techi so I don’t understand much. I have a situation. I ordered a web creator to creat a website for me, his job is almost done he just have to upload it into a sever and he is done with my order. I also have a friend who is also into IT he said that in addition to thing that the web creator has to upload my website into a server I also have to ask the web designer to give me the code, is my friend explain to me that if later I want to update some functions, first the changes with be done to the source code then it will be uploaded into the server. I asked the web creator to give me the source code of the website as well but he said their is no need for him to give me the source code because the code already will be in the server therefore if I want to modify it I can do it in the server itself. I am kind of confused and dot know what to do, could anyone who understand this matter tell me what should I do. Thanks in advance.
@@IBRACORP Thanks a lot for answering to my question. Could I also please you. What would you suggest me to ask the IT guy to give me the source code in a USB drive, burn it into a cd 💿 or upload it into a a cloud.
What did you guys think of Code-Server? Any more great tips you can share with us? Let us know in the comments! 🔥
Can you explain how to setup the interpretter? Python and Java commands are not working in the terminal.
I've lost count of the amount of times I've pulled my back trying to put on socks.
Modern problems require modern solutions!
My dude, I wasn't planning on watching this one cause I don't use vscode, but boyyy was that intro worth the click
Haha glad you enjoyed it! Tried something new
Please, if you could post links in the description for in-video topics that you recommend checking out in your other videos, like your custom docker network, it would be greatly appreciated!
Great suggestion! We will be doing this as much as possible
How do you deal with permission issues? I’ve wanted to have my appdata folder editable from both SMB and code server and there are issues. Usually you need to play around with the PID a and GID. It be good if you could cover that if you think it’s worth your time.
Yes, I've been racked by this problem recently.If you link to appdata, the entire folder will be changed to the same permissions by codeserver!!!!
@@insomniawu9717 the container doesn't come configured with PUID and PGID. Once I add those 99 and 100 respectively, my permissions issues seem to have disappeared.
I also have issues with permissions on the subfolders in /mnt/. I can access but I cannot edit it. How can I solve this?
Great video, can't wait for the 2022 authelia video. Already got a release date for it? As I just wanted to install it and don't know if its still worth setting up the "old way" if there is something new probably coming very soon.
i can't get code-server to view any workspaces let alone the default on docker through synology. Any advice
It must be a permission issue. Make sure the code server has the same user/group permissions as the folders your trying to access. If for example the files/folder are owned by root, a lower down user would not be able to access those files. If your running the container as that user it will not be able to access those files either
Yea did you pair this with self hosted git lab server and runners for code push, review automation and backup. Also does container storage if you want to make your own unraid docker server.
We didn't no! But a follow up will come in future so thanks for sharing
Can we also run commands through the server? That would eliminate the need to go back to run docker-compose up in the terminal when you finished setting up the yml config in the code-server.
Great question! I'll need to find that out actually
Holy cow....
Following the updated authalia tutorial and this came up as a good way to edit code....
I WISH I KNEW ABOUT THIS SOONER! lol
Again super easy to follow and use after your explanation, this is going to make editing stuff so much easier than having to VPN into my desktop and work through file shares 🤣🤣
Glad I could help!
please say there is a aws version 🥺
If you need to add a Python interpretter to code-server. Head to Code-Server Settings. Add new Variable at the bottom.
Name: DockerMod
Key: DOCKER_MODS
Value: linuxserver/mods:code-server-python3
This will intialize a python3 interpreter when starting up code-server.
Thanks for the information! That’s good to know
THANKYOU! I had hard time figuring out why python wasnt working. I often just copy and paste whatever the error is and hope the top result will answer my question but for awhile now I couldnt figure it out. Then I found this. Greatly appreciate it.
Did you ever get hashed passwords to work? Per the documentation it says to use the instructions _echo -n "thisismypassword" | npx argon2-cli -e_ which I ran into issues running on both my VPS and my local environment (WSL). I was able to find a different way to generate a argon2 hash but even though the values look the same when I add it to my docker compose the container tries to process that key as several different (empty) variables.
Haven't tried that method personally so I can't comment really but the argon2id website works well if you match the requirements it needs
@@IBRACORP Looks like the linuxserver docs reference the method by the coder repository which does not work. You need to leave your HASH variables outside of quotes and then prefix every $ with $$ so docker doesn't try to parse it as a variable.
thanks for the demo and, info, Have a great day
Same to you Chris thanks for watching
Hi followed your instructions but I can't seem to get full write access to my mnt > array share. Some files are writable (eg. for swag) others are not, like the configuration file for homeassistant.
I then get a "(NoPermissions (FileSystemError): Error: EACCES: permission denied" error. Same with writing to my private documents share. no write access there. Any ideas what might be the issue? should code server use root instead of the nobody:users puid/guid?
did you ever get this fixed?
Same problem here. This use to work fine, and I'm guessing after a recent Unraid update code-server can no longer write to appdata files. The sudo password set in the Docker config doesn't work either.
Same.
OK, this seemed to work. Open console on the code-server docker and use this command; sudo chmod -R 777 /array/
@@gr3atdane This worked for me - thanks!!!
After I installed the docker following your video I've got a 404 Not found error. I looked into the log and not error. I do not understand how to fix this :-(
Are you using Traefik? it could be that you need to tell Traefik which port/scheme to use with some extra labels.
@@IBRACORP thanks for the answer. No I don't have it installed. I will look at your video about it and try to resolve it this way by installing it. BTW thanks for all your video, always very interesting, I am a faithfull follower ;-)
Thank you for a wonderful guide.
There is a problem, that I can not understand why it happens. I installed the plugin for YAML - and each time I close the browser and restart, the YAML plugin is inactive. Should do desable and after that enable
Great video
Thanks for watching 🌟
Great video but can you follow up with publish/clone with github including the ssh keys? I can't get that bit working....
thanks for the info
Good video man I'm looking forward to trying to get this to work. When I put that optional path in and the configuration. And then I go into the code server. That folder isn't open. It won't even let me access that folder. There's something that I did wrong
Very useful thanks! After installing the Python plugin I was able to instantly compile and run some of my Python projects, but I am having some issues with the Java plugin as it requires an existing JDK to set JAVA_HOME. Is it possible to install a JDK for the container?
I have not tested it yet, but if it is as usuall, I belive just connect to container with shell, then apt update, and command for installing JAVA you need. Also will be needed probably to create Volume where will be stored the file containing PATH and JAVA files itself, so you do not need to repeat it after container reset.
Or you could add the Java from your server, by mounnting the Java to the Container and then I think you can select the JAVA location in VSCode settings, at least for Python I could define path
Not able to use any commands not even pip command
If you install the docker extension, would you be able to use that to start and stop the docker containers on unraid?
I don’t think so, you can always try it and feedback to us!
Hey, did you ever find out if this is possible? I have a container with my development environment and I wanted to connect to it with the extension.
Great video. Thanks man 😘
Is it possible to map a network location to codeserver?
In all honesty not sure on that one!
@@IBRACORP got it working ✌️
I connected the network location as a remote share to Unraid and mapped that to codeserver. Works like a charm
Hi, I am a non-techi so I don’t understand much. I have a situation. I ordered a web creator to creat a website for me, his job is almost done he just have to upload it into a sever and he is done with my order. I also have a friend who is also into IT he said that in addition to thing that the web creator has to upload my website into a server I also have to ask the web designer to give me the code, is my friend explain to me that if later I want to update some functions, first the changes with be done to the source code then it will be uploaded into the server. I asked the web creator to give me the source code of the website as well but he said their is no need for him to give me the source code because the code already will be in the server therefore if I want to modify it I can do it in the server itself. I am kind of confused and dot know what to do, could anyone who understand this matter tell me what should I do. Thanks in advance.
I would push to get the source code, since that is what you paid for at the end of the day!
@@IBRACORP Thanks a lot for answering to my question. Could I also please you. What would you suggest me to ask the IT guy to give me the source code in a USB drive, burn it into a cd 💿 or upload it into a a cloud.
Was it a Chinese "Hi" ? 🤔
Yeah! We've been rotating through all languages we can for the intros 🙂
@@IBRACORP nice!
Seems too great to be real...
It is real 🙂