Posts by HackitZ

    Hey all.


    looking for some help with plex in docker and a feature plex offers called preroll.


    if someone here is using the preroll feature can you share how you set it up?
    Thanks


    i have tried,
    /srv/dev-disk-by-label-Media/AppData/Plex/Preroll/Preroll.mp4
    i edited my acl to give plex permission to use folder


    i have also tried,
    created a new folder in one of my movie drives
    ex:
    sdc/kids movies
    sdc/mma
    sdc/Plex/Preroll
    i have tried both the path plex uses and the full path.
    ex plex:
    /media/Movies2/kids movies
    /media/Movies2/mma
    /media/Movies2/Plex/Preroll/Preroll.mp4
    ex full path:
    /srv/dev-disk-by-label-Movies2/Plex/Preroll/Preroll.mp4

    I didn't explain what I want very well.
    I have next loud setup with letsencrypt.
    Just thought for security I should have on setup with more security.
    So I do access next loud remotely.
    I have no need to access omg remotely, but would the extra security not be good for omg?


    Sent from my Pixel 4 XL using Tapatalk

    Where exactly did you have this wrong directory path configured? 'Volumes and bind mounts' in the docker container config?

    I did nothing with the docker container.
    here's how i installed nextcloud.
    stopped, letsencrypt, nextcloudddb.
    removed nextcloud countainer.


    i then followed the guide.


    Following this guide, nextcloud countainer is installed, nextcloud directory is created.
    I think my nextcloud not updating issue was a permission issue, as i already created the nextcloud folder before following the guide.

    so i reinstalled nextcloud following the guide.
    i did see there was an update to 17.02. i saw the update on my phone and figured i would see if nextcloud would update.
    it did and i did it on my phone Kinda cool lol).
    to my surprise i was able to update.
    i suspect my issue was using the wrong directory path, heres an example
    wrong:


    correct:


    hope that helps.

    I'm not having much luck finding the right php file to edit.


    i read something about nginx. but i dont see a line to edit the upload size.
    could this be something that needs to be done from the yml file while installing nextcloud?

    i have re installed omv, still not done.
    but when i run
    docker logs -f letsencrypt


    Server ready
    nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 f
    or OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)
    nginx: [error] lua_load_resty_core failed to load the resty.core module from https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from https://openr
    esty.org/en/download.html (rc: 2, reason: module 'resty.core' not found:
    no field package.preload['resty.core']
    no file './resty/core.lua'
    no file '/usr/share/luajit-2.1.0-beta3/resty/core.lua'
    no file '/usr/local/share/lua/5.1/resty/core.lua'
    no file '/usr/local/share/lua/5.1/resty/core/init.lua'
    no file '/usr/share/lua/5.1/resty/core.lua'
    no file '/usr/share/lua/5.1/resty/core/init.lua'
    no file '/usr/share/lua/common/resty/core.lua'
    no file '/usr/share/lua/common/resty/core/init.lua'
    no file './resty/core.so'
    no file '/usr/local/lib/lua/5.1/resty/core.so'
    no file '/usr/lib/lua/5.1/resty/core.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
    no file './resty.so'
    no file '/usr/local/lib/lua/5.1/resty.so'
    no file '/usr/lib/lua/5.1/resty.so'
    no file '/usr/local/lib/lua/5.1/loadall.so')

    i have changed my yml file.
    Before i run the yml i'm going to search the folders on my main drive to see where all this data is that has filled my os drive.
    This is what i have run
    du -a /home | sort -n -r | head -n 25
    ok this command is not working. it's not showing anything about my os drive.


    Is there an easier way?

    Is best practice to use the definitive folder names (e.g. /srv/dev-disk-by-label-something) instead of the /sharedfolders. This way you also know where your folders really are.

    yeah i just realized you should not be using the shared folder directory. totally forgot. it's just easier.

    services:
    nextcloud:
    image: linuxserver/nextcloud
    container_name: nextcloud
    environment:
    - PUID=1001
    - PGID=100
    - TZ=America/New_York
    volumes:
    - /sharedfolders/AppData/Nextcloud/config:/config
    - /sharedfolders/AppData/Nextcloud/data:/data
    depends_on:
    - mariadb
    ports:
    - 450:443
    restart: unless-stopped
    mariadb:
    image: linuxserver/mariadb
    container_name: nextclouddb
    environment:
    - PUID=1001
    - PGID=100
    - MYSQL_ROOT_PASSWORD=mine
    - TZ=America/New_York
    volumes:
    - /sharedfolders/AppData/Nextclouddb:/config
    restart: unless-stopped
    letsencrypt:
    image: linuxserver/letsencrypt
    container_name: letsencrypt
    cap_add:
    - NET_ADMIN
    environment:
    - PUID=1001
    - PGID=100
    - TZ=America/New_York
    - URL=my url
    - DNSPLUGIN=blaize
    - SUBDOMAINS=www,
    - VALIDATION=http
    - EMAIL=mine # define email; required to renew certificate
    volumes:
    - /sharedfolders/AppData/Letsencrypt:/config
    ports:
    - 444:443
    - 81:80
    restart: unless-stopped

    Then I have no idea why you data ended up on your root drive unless you specified it like that.


    Have you tried the steps in post 7?

    not yet

    How do you know they are on your OS drive?
    Post your docker-compose.yml

    omv says my os drive is full. nextcloud has a warning im running out of space. the space left is the same amount in both places.


    i just found a nextcloud folder in shardedfolders. that called nextcloud. i also have one in sharedfolders/appdata. the appdata is where nextcloud use to be.
    i ran du -h and the nextcloud folder in sharedfolders is only 8gigs. that is not big enough to fill my os drive. my os drive is 101gigs.
    i stopped nextcloud, nextclouddb and letsencrypt, i than cd to shared folders and ran mv nextcloud nextcloud_old. im getting an error resource busy.


    so to recap heres how many nextcloud folders i have and the location


    1.original
    /sharedfolders/appdata/nextcloud_old


    what i thought was new
    /sharedfolders/appdata/nextcloud (this is the path in my docker.yml)


    this is one i think nextcloud is using
    /sharedfolders/nextcloud (this is the one im now trying to rename, it's also only 8gigs in size.

    so i did reinstall nextcloud.
    Here's what i did.
    I stopped all the services.
    renamed nextcloud data folder to nextcloud_old.
    re-ran my docker compose file.


    at this point everything seemed fine.
    I know have another inssue, it seems like the nextcloud data is my my os drive.
    I'm not sure how this would have happened, as i did not change anything from my docker compose file from the last time.
    Is there a way to move the data base file?