Jump to content

BobFish

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by BobFish

  1. Hi everyone, a couple of issues. Firstly my unraid system isn't booting and is saying no boot drive so I assume my usb drive has died (its done this once before a few months ago).

     

    I also for some reason found my latest flash backup on the unraid website is from a month ago, does anyone know why this isn't more up to date? I've added a hard drive since then so I'm worried there might be an issue using an older flash backup (or is this not an issue?)

     

    When I try to use usb creator it just gives me this error message.

     

    Not sure what it means, could it be that my usb drive is faulty? I tried to google the error and couldn't find this error code mentioned.

     

    Thanks :)

    Screenshot 2022-10-31 000751.png

  2. Hi Everyone, I earlier today updated my binhex-crafty container and it seems to have deleted all my backups in the process. They are being saved to "/opt/crafty/backups" the default location.


    Please tell me this isn't the case and they're still here somewhere. I updated it and then a few hours later replaced my world with a different map to test something with the plan to just restore backup later like I've done in the past but now I seem to have permanently lost my world forever which if so is extremely upsetting as its got several months of playtime from myself and quite a few friends.


    I know its partially my fault and I should have multiple backup locations but I really didn't expect them to all just go like that. Is there anything I can do to get my world back? Anything at all?


    Thanks if anyone can help!!

  3. 5 hours ago, knex666 said:

    Hey,

     

    thats very easy. 

    You create a new container, give it a name and use the source python:3 volume mount your source code folder to /source/ and enter post execution "python3 /source/main.py"

    if you have some requirements you have to install those with docker exec and commit the container after you made changes.

     

    cheers

     

    Thanks for the reply! So I think I'm almost there. I've made a folder here on my unraid server with my dockerfile and my python fileimage.png.5cbcf2d05e959205e807afbe157a6ccc.png

     

    And then here is my dockerfile:

    image.png.cbfa080d710eb0ad1afedce03307ae13.png

     

    I then run sudo docker build -t discord -f /mnt/user/Media/discordbot/dockerfile . in my terminal on unraid

     

    which if I go docker images gives me this:

    image.png.399b7ee35888cf05996b42b46faa4f8b.png

     

    so I then should just go docker run discord right?

    but this gives me this error:

    image.png.6f656a60a1571b03b87f98113ae2545e.png

     

    I think I need to copy the bot.py file somehow to where the docker image is stored or something like that? Very unsure what to do next or if what I have is correct. Thanks!

  4. Hi Everyone, super new to unraid and docker but loving it all so far. I've built a discord bot in python which I'd like to run on my unraid server as a docker container. How do I go about doing this in the easiest way? I have been trying to research online on how to do this but not really found any instructions that walked me through it step by step.

     

    Thanks :)

×
×
  • Create New...