Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synology NAS with arm64 #516

Open
Valek626 opened this issue Jul 29, 2022 · 15 comments
Open

Synology NAS with arm64 #516

Valek626 opened this issue Jul 29, 2022 · 15 comments

Comments

@Valek626
Copy link

Hello,
I'm just starting to play around with my Synology, I managed to install docker and portainer, I have calibre-web running, but after installing cops I receive the error
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use)
I can't set ports with -p because I have to use docker in "host" mode, due to arm64 version limits, if I understood correctly.
So, can someone help me to set the right ports for cops? I tried to change ports in container settings but whitout success 🙄
Thank you! 🤗
Valeria

@marioscube
Copy link

You have probably fixed it by now? Or not because of docker limitations.

You could try to build COPS image yourself from a dockerfile. And set NGINX to listen on other port than 80.

As NGINX and I do not work together I cannot help you there..

@Valek626
Copy link
Author

No, I haven't! Thank you for your help: I'll try! :)
Cheers, v.

@marioscube
Copy link

Hmmmm, if you stop calibre-web and start COPS, do you still get that error?
COPS and calibe-web are, to an end-user, the same program (not under the hood).

Do you want an efficient utilitatian program: COPS
Do you want eye-candy that works: calibre-web

If your client is on mobile, an e-reader or on a tablet I would use COPS, if the client is on the desktop go for calibre-web.

PS:

I can't set ports with -p because I have to use docker in "host" mode, due to arm64 version limits

Can you point me to a source??

@Valek626
Copy link
Author

Valek626 commented Aug 1, 2022

Yes, I installed and runned cops after stopping calibre-web, I'd like to use COPS for his super fast interface, in particular from mobile device and my onyx boox readers 😊 I would use calibre-web to add ebooks from remote, mostly.

You can see some info here, for example, about synology arm limits https://wiki.servarr.com/docker-arm-synology (yes, I know, I should buy a serious NAS 😅)

Thank you! 🤗

cheers, v.

@marioscube
Copy link

Other option:

Install COPS as a website (use apache2 not NGINX unless you know what you are doing) by unzipping the zip in ../web/

If you want to use calibre-web turn off webserver. If you want to use COPS docker stop calibre-web an turn on webserver.

To ad e-books I use calibre (NOT calibre-web) on my desktop then synchronise (rsync?) or copy the databases to the server (in your case a Synology). So I always have a backup of the database and the e-books.

@Valek626
Copy link
Author

Valek626 commented Aug 1, 2022

Good idea, thank you! 👍
Yes, you're right about adding and manage books on your desktop, it would be the best solution (and suggested by calibre developer, too) but I really like editing and managing my loved ebooks on my tablet or phone... at moment I have around 11000 books 😅 so when I have time I like organizing them, maybe from the beach 😉

@marioscube
Copy link

If you have so many e-books (nice collection!) make sure you have a backup!
Finding an redownloading them will be a pain in the glutus maximux ;-)

@SylvainDx
Copy link

SylvainDx commented Aug 1, 2022

I was maybe in a similar situation. And I put my Calibre db on a nas share and access it from different devices (windows or linux) .... I ruin the db several times.
Now I put a docker with the full Calibre version on the nas. I can access it from a browser from anywhere with my tailscale vpn. And I use cops to access it and recover the books

@Valek626
Copy link
Author

Valek626 commented Aug 1, 2022

thank you SylvainDx, I'll investigate! and I messed up my db several times, too 😅 (but I have a backup 😉)
cheers, v.

@SylvainDx
Copy link

For information I use : https://github.com/linuxserver/docker-calibre
you can set a funny port to this image and keep the 80 for Cops

@Valek626
Copy link
Author

Valek626 commented Aug 2, 2022

Thank you again. Yesterday I tried exactly that container, but on my NAS is terribly slow, quite unusable 🙁 maybe because I have so many books, I don't know...

@SylvainDx
Copy link

What's your NAS version ? i run it on a 716+ si I can't use the lastest build but it works fine.
My DB is also around 11k ebooks so I don't think the size realy matter

@Valek626
Copy link
Author

Valek626 commented Aug 2, 2022

DS220j with a wonderful Realtek RTD1296 4-core 1.4 GHz and 512 MB DDR4 🤣 🙁 your is definitely better with Intel Celeron and 2gb RAM... wow, I'd like to compare our collections 😍 but mine is mainly in Italian...

@SylvainDx
Copy link

And mine in french ;)
Yes the 220J may be a little short for this ... at least on the memory.

@marioscube
Copy link

marioscube commented Aug 2, 2022

Well I only have a DS-110j (single core and almost no RAM) for COPS and it works, slow.........

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants