GithubHelp home page GithubHelp logo

Comments (15)

davida72 avatar davida72 commented on August 15, 2024 1

There's a server there too. I just got it working with the official docker container, but yours has some additional functionality so later I'll try and get it working with that.

If you want to try it yourself, you can add the command

rcd --rc-web-gui --rc-addr :5572

which will initiate the web gui and allow other IPs to access it.

from ob_bulkstash.

tspicer avatar tspicer commented on August 15, 2024

Which UI, this? https://github.com/rclone/rclone-webui-react?

Can you describe more of what you looking for? Do you want this running all the time locally?

from ob_bulkstash.

davida72 avatar davida72 commented on August 15, 2024

No, the official one here.

https://rclone.org/gui/

I tried to achieve this with the official docket by adding the appropriate arguments and the log suggested it worked, but I was unable to connect despite making the port available.

I like the look of your container because it already allows for saving the config outside of the container.

I’d love to use rclone gui in GUI mode from other computers on my network.

from ob_bulkstash.

tspicer avatar tspicer commented on August 15, 2024

It is the same project. What you referenced is the CLI to initialize the project I linked to.

If you ran it, any errors? Any logs that you can share? docker logs....? Did you do a pull or a build? Version? Did you try to exec into the container to see if you can connect to the UI via curl? I don't have enough info to provide feedback on what you need to do.

from ob_bulkstash.

tspicer avatar tspicer commented on August 15, 2024

It looks like this is more of a client app, there is no server per se. This is why it spawns the browser which loads the react app. If you wanted to run it like I think you want to run it, more as the container operating as a server, then it might require running node js express to serve the app.

I will certainly give it some thought, or if anyone else wants to undertake the effort happy to accept the contribution.

from ob_bulkstash.

davida72 avatar davida72 commented on August 15, 2024

Thanks for your patience. Bear with me as I’m on mobile and I’m not a docker expert.

Here’s the log.

2020/02/05 22:01:41 ERROR : Failed to open Web GUI in browser: exec: "xdg-open": executable file not found in $PATH. Manually access it at: http://gui:[email protected]:5572/?login_token=Z3VpOlNZc1ZPaTVCanExSEF5dENfcWNuc3c%3D

I replaced 127.0.0.1 with my local IP but I was unable to connect.

I pulled rclone/rclone using docker compose. Didn’t consider using Curl to try and connect from within the container. Good idea.

from ob_bulkstash.

tspicer avatar tspicer commented on August 15, 2024

Thanks, that confirms what I expected. It wants to open a browser as if it is local

from ob_bulkstash.

davida72 avatar davida72 commented on August 15, 2024

Here’s a conversation I was having on the recline forum. I’d love to have the GUI running on a server.

https://forum.rclone.org/t/gui-in-official-docker-image/14103/4

from ob_bulkstash.

davida72 avatar davida72 commented on August 15, 2024

Thanks, that confirms what I expected. It wants to open a browser as if it is local

Agreed. But I don’t think it’s a showstopper. I think the server is running but it just can’t launch the browser, which I don’t care about.

from ob_bulkstash.

tspicer avatar tspicer commented on August 15, 2024

It looks like a client side app. Not seeing a server here

from ob_bulkstash.

tspicer avatar tspicer commented on August 15, 2024

Interesting. Can you run top to see what process is running as the server? is it node express?

from ob_bulkstash.

davida72 avatar davida72 commented on August 15, 2024

To quote the author

Rclone does contain a web server, that is correct. The go standard library has an excellent web server built in and rclone uses it for lots of things!

Two things I'm looking to achieve, which feel within reach now. I'd like to be able to set a default login and password, so that I don't have to get them from the log and I'd like to store my server configs in a configs folder outside the container, which I understand yours does.

from ob_bulkstash.

tspicer avatar tspicer commented on August 15, 2024

Thanks for pointing that out, makes sense now how it is serving the react app.

from ob_bulkstash.

tspicer avatar tspicer commented on August 15, 2024

Can you share your docker run or docker compose file you used to execute the server? It will be easier to see what you were doing and how to best proceed.

from ob_bulkstash.

davida72 avatar davida72 commented on August 15, 2024

Sure. I use Docker Compose and Portainer to manage my containers on a headless box. Here's the YML.

  rclone_rclone:
    image: rclone/rclone
    container_name: rclone_rclone
    restart: always
    command: rcd --rc-web-gui --rc-addr :5572 --rc-user test --rc-pass test
    ports:
      - "5572:5572"
    volumes:
      - /home/user/docker/rclone_rclone:/config/rclone
    environment:
      - PHP_TZ=Europe/London
      - PUID=1000
      - PGID=1000

The web interface is then available at http://[ip-address]:5572 across my network with user and password as test.

It works really well. There are a couple of issues I'd like to resolve which are that it doesn't seem to be available outside my LAN and I'm having to build the conf file from a command line on my Mac. Oh, and I haven't worked out how to copy from my local drives using rclone. I doubt those are hard to figure out but I haven't had time to take a look.

It would be great to have a Docker container with all of those things ready to go out of the box.

from ob_bulkstash.

Related Issues (15)

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.