Jump to content

NEED HELP TO USE ONEDRIVE CLOUD ACCOUNT AS MEDIA SERVER FOR DEVICES


Recommended Posts

RajeshSahoo12
Posted (edited)

Hello Community,

Need help on how I can used my microsoft onedrive business account for media streaming server for all other devices at home.

Till now have tried few steps on ubuntu running on oracle cloud instance. Below are steps :-

Rclone was setup. Created remote connection with my onedrive account.

Portainer was setup. Then 03 stacks were deployed using docker compose. All are running fine.

 

But the tutorial what I have followed, on my emby media server I am not able see my onedrive media.

 

So, I need help on this regards. How I can use the cloud storage with emby media server.

 

 

Edited by RajeshSahoo12
Posted

Hello RajeshSahoo12,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:

Thank you.

Emby Team

Posted

You have to use the flag —allow-other

RajeshSahoo12
Posted (edited)

I have deployed totally 03 stacks in portainer. These are below :-

 

Duckdns :-

version: "2.1"
services:
  duckdns:
    image: lscr.io/linuxserver/duckdns
    container_name: duckdns
    environment:
      - PUID=1001 #optional
      - PGID=1001 #optional
      - TZ=Europe/London
      - SUBDOMAINS=sub domain1, sub domain2
      - TOKEN=mytoken from duck dns
      - LOG_FILE=false #optional
    restart: unless-stopped

 

Nginx :-

version: '3'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: unless-stopped
    ports:
      - '80:80'
      - '81:81'
      - '443:443'
    environment:
      DB_MYSQL_HOST: “db”
      #DB_MYSQL_PORT: 3306
      DB_MYSQL_USER: “username”
      DB_MYSQL_PASSWORD: “password”
      DB_MYSQL_NAME: “dbname”
    volumes:
      - /mnt/nginx/data:/data
      - /mnt/nginx/letsencrypt:/etc/letsencrypt
  db:
    image: 'jc21/mariadb-aria:latest'
    restart: unless-stopped
    environment:
      MYSQL_ROOT_PASSWORD: 'passwrod'
      MYSQL_DATABASE: 'dbname'
      MYSQL_USER: 'username'
      MYSQL_PASSWORD: 'password'

    volumes:
      - /mnt/nginx/data/mysql:/var/lib/mysql

 

Emby:-

---
version: "2.1"
services:
  emby:
    image: lscr.io/linuxserver/emby
    container_name: emby
    environment:
      - PUID=1001
      - PGID=1001
      - TZ=Europe/London
    volumes:
      - /mnt/emby:/config
      - /mnt/cloud:/media
    ports:
      - 8096:8096
      - 8920:8920 #optional
    restart: unless-stopped

 

Onedrivemedia service:-

 

[Unit]
Description= RClone Mount Service
After=network-online.target

[Service]
Type=notify
ExecStart=/usr/bin/rclone mount \
--config=/home/ubuntu/.config/rclone/rclone.conf \
--user-agent=rajeshsahoo \
--allow-other \
--timeout=1h \
--poll-interval=15s \
--dir-cache-time=1000h \
--cache-dir=/mnt/rclone/cache/onemedia \
--vfs-cache-mode=full \
--vfs-cache-max-size=20G \
--vfs-cache-max-age=12h \
onedrive: /mnt/cloud
ExecStop=/bin/fusermount -uz /mnt/cloud
Restart=on-abort
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3

[Install]
WantedBy=multi-user.target

Edited by RajeshSahoo12
RajeshSahoo12
Posted

I think have used it. But still not getting it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...