zevv / duc

Dude, where are my bytes: Duc, a library and suite of tools for inspecting disk usage
GNU Lesser General Public License v3.0
585 stars 79 forks source link

IPKG available? #142

Open Atrejoe opened 8 years ago

Atrejoe commented 8 years ago

Noob question here:

Is it possible to make this available as ipkg package next to apt-get? I would like to test this on my QNAP nas. If this is inherently impossible due to the design/architecture, I told you so, I'm a Linux Noob :)

At least I was unable to compile it from source due to a missing compiler.

zevv commented 7 years ago

Sorry, seems I have missed your question for some reason.

No, there's no ipkg available, nor planned. I have a QNAP myself, but the very first thing I did was throw away the lousy operating system and put Debian on it. The good thing is that it runs Duc now :)

Atrejoe commented 7 years ago

Thanks for the reply anyway. I have too little spare time and my linux-foo is not that strong so I'll stick to the default os.

zevv commented 7 years ago

Added a 'help wanted' label to this issue, hoping someone is able to create a QNAP package for Duc.

danielporto commented 5 years ago

Thanks for the great tool! A little late but I've just came across this, and I manage to compile it for qnap. I mainly installed Entware-3x, then the dependenceis https://fallabs.com/tokyocabinet/ It is not the same thing but there are a lot of tips on how to compile them to qnap here: https://www.mediawiki.org/wiki/Setup_QNap_TS459_PRO_II_for_install_graphviz_with_Entware-ng finally i downloaded duc and compiled without cairo and x11 ./configure --disable-cairo --disable-x11 worked. To use gui and graphics, I downloaded the database to my laptop.

I'm surprised that a tool like that isn't available by default. A web based version is definitely needed to inspect remote nodes.

Atrejoe commented 5 years ago

@danielporto thanks for taking the effort! It got my attention to this lovely project again. I share your surprise, one would expect a NAS oriented application like this to be quite common.

Currently QNAP NASes also supports Docker using 'Container Station'. After a quick search I found that @minostauros already created a Docker image of DUC:

By creating docker-compose.yaml :

version: '3.4'

services:
  duc:
    image: digitalman2112/duc:latest
    container_name: duc
    ports:
      - 999:80
    expose:
      - 999
    volumes:
      - /share/Multimedia:/data/Multimedia:ro

and running 'docker-compose up -d', voila: image

I need to get better acquainted with both DUC as this Docker image (scanning multiple paths, persisting the database, scheduling refreshes?), but this is a great start!

danielporto commented 5 years ago

Thanks a lot for the pointer @Atrejoe !!! That's awesome to hear. Unfortunately my QNAP doesn't support containers. But I looked what it's inside the configuration and saw that the solution is quite simple! https://github.com/minostauros/duc-docker/tree/master/assets I will try to replicate that without containers.

l8gravely commented 5 years ago

Thanks for the info, I'm working on getting some changes into the next version of the code base, so I'll see about adding this info in, even as just a pointer to where to find this.

John

danielporto commented 5 years ago

I will give a try over the weekend to build a qpkg for it. It would be nice to pack the newer version.

On Fri, Apr 26, 2019 at 4:12 PM John notifications@github.com wrote:

Thanks for the info, I'm working on getting some changes into the next version of the code base, so I'll see about adding this info in, even as just a pointer to where to find this.

John

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zevv/duc/issues/142#issuecomment-487093175, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMTRG2BSPJQOUDXJADLEM3PSMLWPANCNFSM4CG7ET3Q .

Atrejoe commented 5 years ago

@danielporto maybe you could publish your qpkg in the alternative qnap store: https://www.qnapclub.eu/en