Two different jottacloud account multiple mounts

Hi, i hopy somebody can help me out here :slight_smile:

What is the problem you are having with rclone?

I use Jottacloud and it works great, now a friend of mine uses jottacloud, too and we wanted to mount his jottacloud drive with a xx.service. So If we use the flag --rc i can mount one jottacloud but not the second one. If i do not use --rc I cant mount any of both. So how can I mount two jottacloud mounts.

  1. jottacloud1: -> /jotta1
  2. jottacloud2: -> /jotta2

If i manually mount the drives, theres no problem but it does not work with xyz.service which looked like this:


# /etc/systemd/system/rclonejotta.service
[Unit]
Description=rclone mount
#Documentation=http://rclone.org/docs/
After=network-online.target
Wants=network-online.target


[Service]
#ExecStartPre=/bin/sleep 30 Type=simple
Type=simple
User=root
Group=root
ExecStart=/usr/bin/rclone mount jottasecure: /jotta \
--allow-other \
--allow-non-empty \
--buffer-size 128M \
#--dir-cache-time 2h \
--log-file=/mnt/shareit/mylogfile3.txt \
--log-level INFO \
#--timeout 1h \
--umask 002 \
#--fast-list \
--rc

ExecStop=/bin/fusermount -uz /jotta

#Restart=always
#RestartSec=10
Restart=on-failure
#Restart=on-abort


[Install]
WantedBy=default.target


What is your rclone version (output from rclone version)

1.57 latest version just updated today
-->

Which cloud storage system are you using? (eg Google Drive)

Jottacloud

You skipped the juiciest part of the template which is the log file.

That would show you exactly what the error is :slight_smile:

On the second mount, you need to use a different port as it's already running on the first mount:

      --rc-addr string                       IPaddress:Port or :Port to bind server to (default "localhost:5572")

So make it :5573 or something

Thanks for your help, that was exactly the solution. To be honest, the solution popped into my mind last night and it worked right away. Thank you, sometimes you just have to write down your problems to come up with the solution. :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.