Giter Site home page Giter Site logo

Comments (9)

rgkirch avatar rgkirch commented on June 13, 2024 1

Sorry, since you showed me how to configure it in the UI I have what I needed and I'm not going to try and run cloudcmd without docker. Thank you for the help!

from cloudcmd.

coderaiser avatar coderaiser commented on June 13, 2024

Try to pass packer without quotes: —packer zip

from cloudcmd.

rgkirch avatar rgkirch commented on June 13, 2024

I tried --packer zip and I was not able to get it to work. I'm right clicking on a folder and then clicking "download" and I get a .tar.gz file instead of a .zip file. Does the --packer option control that or is it just for the "pack" option?

from cloudcmd.

coderaiser avatar coderaiser commented on June 13, 2024

please provide more details: what version are you using?

from cloudcmd.

rgkirch avatar rgkirch commented on June 13, 2024

Sorry. I'm using v17.3.3
I'm using docker compose and I'm passing the command args like this

  cloudcmd:
    image: coderaiser/cloudcmd
    volumes:
    - /mnt/user:/mnt/user:ro
    command:
    - --packer
    - zip

and I also tried like this

    command: --packer zip

and just now I tried without docker compose to make it reproducible for other people.
docker run --rm -v /mnt/user:/mnt/user:ro -p 8001:8000 coderaiser/cloudcmd --packer zip
logs

url: http://localhost:8000/
GET / 200 18.510 ms - 2142
GET /dist/cloudcmd.js 200 4.692 ms - -
GET /dist/cloudcmd.common.js 200 5.250 ms - -
GET /dist/cloudcmd.css 200 8.221 ms - -
GET /json/modules.json 200 1.465 ms - -
GET /api/v1/config 200 0.449 ms - -
GET /dist/cloudcmd.common.css 200 1.199 ms - -
GET /favicon.ico 200 1.203 ms - -
GET /api/v1/fs/mnt/?sort=name&order=asc 200 9.758 ms - 245
GET /tmpl/fs/file.hbs 200 2.966 ms - -
GET /tmpl/fs/path.hbs 200 3.809 ms - -
GET /tmpl/fs/link.hbs 200 3.302 ms - -
GET /tmpl/fs/pathLink.hbs 200 3.138 ms - -
GET /api/v1/fs/mnt/user/?sort=name&order=asc 200 5.078 ms - -
GET /api/v1/fs/mnt/user/data/?sort=name&order=asc 200 20435.679 ms - -
GET /api/v1/fs/mnt/user/data/Applications/?sort=name&order=asc 200 15.257 ms - 695
GET /api/v1/fs/mnt/user/data/Applications/Android/?sort=name&order=asc 200 76.276 ms - -
GET /api/v1/fs/mnt/user/data/Applications/?sort=name&order=asc 200 1.390 ms - 695
GET /api/v1/fs/mnt/user/data/?sort=name&order=asc 200 7.968 ms - -
GET /api/v1/fs/mnt/user/data/Books/?sort=name&order=asc 200 72.139 ms - -
GET /api/v1/fs/mnt/user/data/Books/Amusement/?sort=name&order=asc 200 22.816 ms - 317
GET /api/v1/fs/mnt/user/data/Books/?sort=name&order=asc 200 10.783 ms - -
GET /dist/modules/menu.js 200 1.558 ms - -
pack "Amusement": 100%GET /api/v1/pack/mnt/user/data/Books/Amusement.tar.gz 200 5.004 ms - -

from cloudcmd.

rgkirch avatar rgkirch commented on June 13, 2024
# docker run --rm -v /mnt/user:/mnt/user:ro -p 8001:8000 coderaiser/cloudcmd --packer foo
url: http://localhost:8000/

GET /api/v1/fs/mnt/user/data/Books/?sort=name&order=asc 200 27.646 ms - -

an invalid option "foo" instead of "zip" doesn't log any error or warning but an invalid flag

# docker run --rm -v /mnt/user:/mnt/user:ro -p 8001:8000 coderaiser/cloudcmd --packe zig
Invalid option `--packe`. Perhaps you meant `--packer`

does log an error

from cloudcmd.

coderaiser avatar coderaiser commented on June 13, 2024

Could you please try to run Cloud Commander without docker

from cloudcmd.

coderaiser avatar coderaiser commented on June 13, 2024
cloudcmd --packer zip

Works good to me. You can also switch packer option in Configuration:

image

from cloudcmd.

rgkirch avatar rgkirch commented on June 13, 2024

Woa! I missed that. I looked through the ui searching for a way to configure it but I didn't notice that dropdown.
image
The only thing I found was the "Zip" checkbox... (idk what it does)
Thanks!

from cloudcmd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.