Ultimate Guide: Selfhosted Visual Studio + Extensions

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ย. 2024

ความคิดเห็น • 62

  • @IBRACORP
    @IBRACORP  2 ปีที่แล้ว +16

    What did you guys think of Code-Server? Any more great tips you can share with us? Let us know in the comments! 🔥

    • @LOLMirza
      @LOLMirza 2 ปีที่แล้ว

      Can you explain how to setup the interpretter? Python and Java commands are not working in the terminal.

  • @gokhankaradeniz9551
    @gokhankaradeniz9551 2 ปีที่แล้ว +5

    I've lost count of the amount of times I've pulled my back trying to put on socks.

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว

      Modern problems require modern solutions!

  • @RoryIsNotACabbage
    @RoryIsNotACabbage 2 ปีที่แล้ว

    My dude, I wasn't planning on watching this one cause I don't use vscode, but boyyy was that intro worth the click

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว +1

      Haha glad you enjoyed it! Tried something new

  • @xkm4
    @xkm4 2 ปีที่แล้ว +5

    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!

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว +1

      Great suggestion! We will be doing this as much as possible

  • @starshipduck
    @starshipduck 2 ปีที่แล้ว +8

    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
      @insomniawu9717 2 ปีที่แล้ว

      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!!!!

    • @sykesybwoy
      @sykesybwoy ปีที่แล้ว

      @@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.

    • @andreasponjavic6517
      @andreasponjavic6517 2 หลายเดือนก่อน

      I also have issues with permissions on the subfolders in /mnt/. I can access but I cannot edit it. How can I solve this?

  • @3xpired3lements
    @3xpired3lements 2 ปีที่แล้ว +3

    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.

  • @Vonzercroft
    @Vonzercroft 2 ปีที่แล้ว +2

    i can't get code-server to view any workspaces let alone the default on docker through synology. Any advice

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว

      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

  • @BenjaminSweetnam
    @BenjaminSweetnam 2 ปีที่แล้ว +2

    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.

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว +2

      We didn't no! But a follow up will come in future so thanks for sharing

  • @dubliv
    @dubliv 2 ปีที่แล้ว +2

    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.

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว

      Great question! I'll need to find that out actually

  • @enekuda05
    @enekuda05 2 ปีที่แล้ว +1

    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 🤣🤣

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว

      Glad I could help!

  • @berkefekeskin9172
    @berkefekeskin9172 2 ปีที่แล้ว +1

    please say there is a aws version 🥺

  • @LOLMirza
    @LOLMirza 2 ปีที่แล้ว +6

    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.

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว

      Thanks for the information! That’s good to know

    • @unixweeb
      @unixweeb 2 ปีที่แล้ว

      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.

  • @jeremystcs3235
    @jeremystcs3235 2 ปีที่แล้ว +1

    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
      @IBRACORP  2 ปีที่แล้ว

      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

    • @jeremystcs3235
      @jeremystcs3235 2 ปีที่แล้ว

      @@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.

  • @chrisumali9841
    @chrisumali9841 2 ปีที่แล้ว

    thanks for the demo and, info, Have a great day

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว

      Same to you Chris thanks for watching

  • @ReneSluiter
    @ReneSluiter ปีที่แล้ว +3

    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?

    • @KrakenPipe
      @KrakenPipe ปีที่แล้ว

      did you ever get this fixed?

    • @aractor
      @aractor ปีที่แล้ว

      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.

    • @gr3atdane
      @gr3atdane ปีที่แล้ว

      Same.

    • @gr3atdane
      @gr3atdane ปีที่แล้ว +1

      OK, this seemed to work. Open console on the code-server docker and use this command; sudo chmod -R 777 /array/

    • @davebock3020
      @davebock3020 ปีที่แล้ว

      @@gr3atdane This worked for me - thanks!!!

  • @jeromeb75
    @jeromeb75 2 ปีที่แล้ว +1

    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
      @IBRACORP  2 ปีที่แล้ว +1

      Are you using Traefik? it could be that you need to tell Traefik which port/scheme to use with some extra labels.

    • @jeromeb75
      @jeromeb75 2 ปีที่แล้ว

      @@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 ;-)

  • @AviDarks
    @AviDarks 2 ปีที่แล้ว

    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

  • @paulpringle6441
    @paulpringle6441 2 ปีที่แล้ว

    Great video

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว

      Thanks for watching 🌟

  • @TheSpantsutube
    @TheSpantsutube 2 ปีที่แล้ว

    Great video but can you follow up with publish/clone with github including the ssh keys? I can't get that bit working....

  • @JonathanTabaco
    @JonathanTabaco 2 ปีที่แล้ว

    thanks for the info

  • @rasbe6863
    @rasbe6863 2 ปีที่แล้ว

    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

  • @elkip2414
    @elkip2414 2 ปีที่แล้ว +1

    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?

    • @nahakuu
      @nahakuu 2 ปีที่แล้ว +1

      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

  • @drmetroyt
    @drmetroyt 10 หลายเดือนก่อน

    Not able to use any commands not even pip command

  • @navinderdhaliwal9950
    @navinderdhaliwal9950 2 ปีที่แล้ว

    If you install the docker extension, would you be able to use that to start and stop the docker containers on unraid?

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว

      I don’t think so, you can always try it and feedback to us!

    • @doriankrizaj
      @doriankrizaj 11 หลายเดือนก่อน

      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.

  • @xisop
    @xisop 2 ปีที่แล้ว

    Great video. Thanks man 😘
    Is it possible to map a network location to codeserver?

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว

      In all honesty not sure on that one!

    • @xisop
      @xisop 2 ปีที่แล้ว

      @@IBRACORP got it working ✌️
      I connected the network location as a remote share to Unraid and mapped that to codeserver. Works like a charm

  • @vectorv750
    @vectorv750 2 ปีที่แล้ว

    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
      @IBRACORP  2 ปีที่แล้ว

      I would push to get the source code, since that is what you paid for at the end of the day!

    • @vectorv750
      @vectorv750 2 ปีที่แล้ว

      @@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.

  • @bluesquadron593
    @bluesquadron593 2 ปีที่แล้ว

    Was it a Chinese "Hi" ? 🤔

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว +1

      Yeah! We've been rotating through all languages we can for the intros 🙂

    • @bluesquadron593
      @bluesquadron593 2 ปีที่แล้ว

      @@IBRACORP nice!

  • @jamespaz4333
    @jamespaz4333 ปีที่แล้ว

    Seems too great to be real...

    • @IBRACORP
      @IBRACORP  ปีที่แล้ว

      It is real 🙂