Portainer setup #451
-
Hi, I might be late to the party, considering eula change - time will tell I have issue which I dont completely understand why: I imported image via portainer to be sure volumes are set correctly:
after running the container I get "NameError: name 'XXXX' is not defined" in logs ... makes sense, need initial run of -it, which is impossible in portainer as far as I know. so I hop into ssh: get list of containers with docker ps -a, run docker run rdavidoff/twitch-channel-points-miner-v2:latest -it . only to get "python: can't open file '/usr/src/app/run.py': [Errno 2] No such file or directory" why, files are set correctly. meanwhile
ends with NameError not defined (even when I insert -it into command above). sorry I have no idea how move forward from here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@GoesInCircles It would be nice of you to leave a comment before closing the discussion, so it will help other people with the same problem. Did you manage to solve this issue? What was the cause? |
Beta Was this translation helpful? Give feedback.
I thought as it just stupid mistake on my side for removing "" in run.py, and wanted to just delete the thread (which I cant here?)
then as I was desperate with the entire manual portainer setup without ability to add -it argument for initial setup ... so I just copied the text from "How to use: up to the -it argument", and asked openai what to do with the -it argument.
It basically said place -it here you dummy and run the code. so I just did that: ssh into correct folder and ran