Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 18 03:03
    hkalexling closed #253
  • Nov 18 02:25
    duckimann labeled #253
  • Nov 18 02:25
    duckimann opened #253
  • Nov 16 13:16
    hkalexling closed #247
  • Nov 16 08:29
    DisableGraphics labeled #252
  • Nov 16 08:29
    DisableGraphics opened #252
  • Nov 14 14:19
    akimolll closed #251
  • Nov 12 13:20
    hkalexling closed #250
  • Nov 09 18:20
    akimolll opened #251
  • Nov 09 18:20
    akimolll labeled #251
  • Nov 09 18:11
    akimolll labeled #250
  • Nov 09 18:11
    akimolll opened #250
  • Nov 08 00:22
    akimolll opened #249
  • Nov 08 00:22
    akimolll labeled #249
  • Oct 22 02:51
    hkalexling closed #248
  • Oct 21 19:58
    DDzwiedziu labeled #248
  • Oct 21 19:58
    DDzwiedziu opened #248
  • Oct 20 06:29
    hkalexling edited #247
  • Oct 11 10:40
    Crivons labeled #247
  • Oct 11 10:40
    Crivons opened #247
Vejax
@Vejax
i have a VPS so i just want to ask
Alex Ling
@hkalexling
@Vejax both would work but I guess if you use Ubuntu, it would be easier to google for tutorials and blog posts in case you encounter any issues.
hyPnOtICDo0g
@hyPnOtICDo0g
Hi @hkalexling! I'm running mango on my raspberry pi 4 using docker & it seems to take quite a bit of space when I built it. Is it possible to include statically linked binaries for arm32 next release onwards?
Alex Ling
@hkalexling
Hi @hyPnOtICDo0g, it's not yet possible because Crystal lang doesn't support statically linking for arm32. See hkalexling/Mango#131
hyPnOtICDo0g
@hyPnOtICDo0g
I see. Thanks for replying! @hkalexling
sco-o
@sco-o
Hi everyone! I'm having some trouble completely wiping mango - I needed to reinstall after cocking up some of the config and now I'm guessing there's some traces of a config somewhere because even after removing the actual script along with my mango folder in user config when I reinstall it doesn't give me a username/password like it did on the initial install. I've also tried searching from root (the HDD isn't big at all) for 'mango' but it didn't throw anything up. This is on ubuntu lts for context.
Alex Ling
@hkalexling
Hi @sco-o , did you delete the SQLite DB? By default it's located at ~/mango/mango.db.
sco-o
@sco-o
Hi @hkalexling , thank you for the response - I currently don't have a mango directory in my home, only the application and then other stuff in ~/.config/mango which 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?
sco-o
@sco-o
is there a command I can use just to set a password as the server is running I just can't get it to give me the default password when I reinstall
Alex Ling
@hkalexling
@sco-o Yes see the CLI wiki page. You should be able to run mango admin user update your_user_name -p new_password --admin to update the password.
Note that the --admin flag is required if you want to keep the admin access.
sco-o
@sco-o
I don't think I've installed the CLI as I get an error that the command Mango couldn't be found - is there an extra step to get the CLI tool installed?
sco-o
@sco-o
I've just attempted the build from source installation method also but got an error with the make command. I've now just downloaded the binary from the github page mango and then cp mango /bin but the command still wasn't recognized.
sco-o
@sco-o
I've now tried the command you sent, but modified to use the downloaded file so ./mango admin user update your_user_name -p new_password --admin obviously substituting your_user_name and new_password- this runs without error but then when I restart the server and attempt to login it doesn't recognise the details.
Alex Ling
@hkalexling

@sco-o yeah it's part of the binary - if you can run the main app you can run the CLI.

but then when I restart the server and attempt to login it doesn't recognise the details.

How did you restart the server? Did you run the same mango binary that you used to set the password?

sco-o
@sco-o

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

Alex Ling
@hkalexling
@sco-o my guess is that you put the mango executable at /root/mango, and that's why it failed when trying to create the directory with the same name. Try moving the executable to somewhere else (e.g., /usr/local/bin) and then run it again.
anonyn00b
@anonyn00b
hello guys !
Does someone know if it's possible to link the library with a cloud storage solution ?
My files are all stored online through gcloud, dropbox or other solutions and mango is hosted on an aws free server with little storage capacity :)
Alex Ling
@hkalexling
@anonyn00b Hi! Yes, technically you can do that, but the performance would be terrible because Mango assumes all files are locally available and would try to access all files when scanning. See hkalexling/Mango#195. A workaround is to rclone the files to a directory and then softlink only the files you want to read to the Mango library. This way Mango would only need to download a small number of files. Alternatively you can try out other open-source alternatives and see if they work with cloud storage services https://github.com/hkalexling/Mango/wiki/Alternatives
JadianRadiator
@JadianRadiator
the delete and retry buttons on failed downloads don't work.
I don't yet know if the delete buttons on completed downloads work,
as I've so far only deleted them with the "delete completed downloads" button at the top of the page.
JadianRadiator
@JadianRadiator

@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.

I can't run a prebuilt binary, as they're not available in Windows executables.
And I can't build it myself either.
Alex Ling
@hkalexling
@JadianRadiator Unfortunately I don't use Windows nor the GUI docker app so not sure what I can do :( One workaround would be to run the pre-built binary in WSL
Nerothos
@nerothos:matrix.org
[m]
If you can, use WSL and you'll be able to use docker just fine for mango
Andreas Dideriksen
@anddid:matrix.org
[m]
hello i was curious if i could get some assistance
so im new to docker in general and im trying to use an already existing manga folder i have on my debian server
i cant seem to link mango to use that database
so erm
i found out
thanks
pineapplejuicex
@pineapplejuicex
Hello, how can I download something from mangadex with mango?
I installed it over swizzin, but I don't have that download section like in the older version
Alex Ling
@hkalexling
@pineapplejuicex Hi, in the latest version we removed the built-in MangaDex support because of the change of their API. We support it later with an official plugin. Please see the release note and https://github.com/hkalexling/Mango/issues/170#issuecomment-788772900 for details.
colourlessmel
@colourlessmel:matrix.org
[m]
Hey just saw the project just wanted to ask is it possible to host this in heroku?
Alex Ling
@hkalexling
@colourlessmel:matrix.org I am not very familiar with Heroku but I doubt that. You will need storage to store you manga collection (rclone is not very well supported ATM), and the server is expected to run continuously for various background tasks like library scanning and thumbnail generation. I don't think you can have these with Heroku.
ImFilippo
@ImFilippo
Hi guys, I've downloaded the plugins folder in my mango folder (/opt/mango/plugins/) but i get this error:
HTTP 500: Internal server error. Please try again later.
Do you know why? I'm using debian + swizzin
Alex Ling
@hkalexling
Hi @ImFilippo , what did you do that led to the error? And which plugin were you using? It makes it easier for us to help you troubleshoot if you can give some steps to reproduce.
ImFilippo
@ImFilippo
@hkalexling I've installed mango with swizzin and it's working fine, i can see the manga in my library; however when i click the plugins tab i got that error. I'm using mangadex, nhentai and ehentai.
Nerothos
@nerothos:matrix.org
[m]
mangadex plugin is outdated
nhentai and ehentai are still working as far as I know
max14354
@max14354
Has anyone managed to get it to work on docker desktop for windows?
I can't seem to define my manga folder as the mango library
The latest error is Named volume "H://hash/manga:/root/mango" is used in service "mango" but no declaration was found in the volumes section. when trying to compose up
Alex Ling
@hkalexling
@max14354 can you share your docker-compose.yml file?
max14354
@max14354
thanks but a very helpful discord member helped me through it, but it didnt work for docker desktop even though the docker-compose.yml was correct
Nerothos
@nerothos:matrix.org
[m]
yeah, docker-desktop seems to have a few options for volumes because it use wsl underlying but still from windows
infectiousstupidity
@infectiousstupidity

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.

Alex Ling
@hkalexling
@infectiousstupidity Did you define the named volume in the docker-compose.yml file? A complete docker-compose.yml file might be helpful here. Also did you see anything relevant from the log?
infectiousstupidity
@infectiousstupidity
@hkalexling
volumes:
    data:
        external: true
I'm a noob, so I couldn't find the logs. For all my other services I find my logs inside of /opt/appdata/name-of-service, but in this case there was nothing there
mike@app:/opt/appdata/mango$ ls
config  library  library.yml.gz  mango.db  plugins  queue.db