Cog-Creators / Red-DiscordBot

A multi-function Discord bot
https://docs.discord.red
GNU General Public License v3.0
4.76k stars 2.3k forks source link

[Setup] Show warning when running on docker for Win using JSON backend #2989

Open orels1 opened 5 years ago

orels1 commented 5 years ago

Other bugs

What were you trying to do?

Run red through an archlinux container on windows 10 host using JSON as a backend using existing data from a previous installation

What were you expecting to happen?

It to work

What actually happened?

It crashed and burned with a cryptic error

image

How can we reproduce this issue?

Run the bot under archlinux/base on a windows host using a volume connected to Windows FS as the bot data path

Additional info

So after talking with @mikeshardmind i tried using a second docker-specific volume as the bot data path to work around Windows being Windows.

Basically the install process looked like this then:

Hope this info helps, sharing since Sinbad asked me to, would love to see some warning about windows issues in the docs or instead of that crashlog

mikeshardmind commented 4 years ago

I can repro this on WSL version 1, but not with WSL version 2. Given that and what I observed about the failure condition, I don't think this is something we can fix, but it could be documented that WSL v2 is needed for WSL users.