Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

API error docker run?

This keeps creeping into my API docker: Error response from daemon: Conflict. The name "/campaign-730568-Th90FS56CGfxjsEhHHh5bQ" is already in use by container ad92966160d2eb1b13d13084f4119c26ea9234226f48fb5f92496d70702ff808. You have to remove (or rename) that container to be able to reuse that name.. See 'docker run --help' . Is it something in one of my scripts causing a conflict?
1473558748
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
In my experience, this just happens sometimes. Usually for me, it's while I'm working on a script and saving quickly and repeatedly. Exit out of your whole browser, wait a few minutes and it should resolve itself. This has at least been my experience so far.
Resaving any script resets the API - it happens while I am not using the campaign. Just used it last night, the error was there again this evening. I just restarted the APi and all was fine. Again.
1473565952
Lithl
Pro
Sheet Author
API Scripter
I'm fairly certain this is a server issue not directly caused by the content of the script itself.
1473566779

Edited 1473566845
Ryan J.
API Scripter
Interesting. I didn't know R20 is using Docker containers as their VM for campaigns. I use Docker all the time in my development for testing deployments. Anyway, there are times that a Docker container hangs and does not exit correctly.  I have a cron job running every 5 minutes that checks for hung containers and kills them.  Docker overall is a great technology, but it does have some issues from time to time.