~/.config/mangowhich I did remove but to no avail. I've been doing all this (the download then permission setting then running with
./mango') all in the home directory - could this be the issue?
mango admin user update your_user_name -p new_password --adminto update the password.
--adminflag is required if you want to keep the admin access.
mango admin user update your_user_name -p new_password --adminobviously substituting
new_password- this runs without error but then when I restart the server and attempt to login it doesn't recognise the details.
Hi, I'm trying to setup another instance of Mango on a remote server and no matter what I try I get this error:
The config file /root/.config/mango/config.yml does not exist. Dumping the default config there.
The config file has been created at /root/.config/mango/config.yml.
[INFO] 2021/07/18 14:50:53 | The DB directory /root/mango does not exist. Attempting to create it
Unhandled exception: Unable to create directory: '/root/mango': File exists (File::AlreadyExistsError)
from ../usr/share/crystal/src/crystal/system/unix/dir.cr:60:13 in 'mkdir_p'
from ../__w/Mango/Mango/src/storage.cr:38:7 in 'default'
from ../__w/Mango/Mango/src/mango.cr:48:3 in '->'
from ../usr/share/crystal/src/hash.cr:867:45 in '__crystal_main'
from ../usr/share/crystal/src/crystal/main.cr:105:5 in 'main'
from src/env/__libc_start_main.c:94:2 in 'libc_start_main_stage2'
This is on a fresh ubuntu install, I've followed the wget, added permissions to the binary and then run it but I get that issue even though each time I've tried it's been on a fresh install
@hkalexling looks like you didn't set the meta for exposing ports in the docker image in and of itself.
Docker Desktop doesn't let you specify expose ports when using the app to make & use containers from the Mango docker image.
Docker Desktop cli/log history for it makes it look like it is working, despite being inaccessible.
And I mean inaccessible from even the the computer you're running it on.
So it does work, but you have to make the container from cli, with or without Docker Compose.
Wish I knew how to make a container directly with Docker cli, not just Docker Compose.
As I feel like I'd be able to make a container runnable by Docker Desktop if I could.
Hi, I've tried setting up mango in docker-compose. I'm struggling to get it to recognize my existing library. My library is on an NFS share that's a docker volume named "data". I keep my existing library in data/media/manga. Whatever I try I cannot get mango to recognize this docker volume. I tried setting this in my docker-compose, volumes:
- /opt/appdata/mango:/root/mango - /opt/appdata/mango/config:/root/.config/mango - data:/root/mango/library
But it didn't work either.
mike@app:/opt/appdata/mango$ ls config library library.yml.gz mango.db plugins queue.db