Ray

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Ray

  1. Can someone help with a docker install script for Mayan-EDMS? This is such a fantastic document management system that would be so helpful for many. It seems like most of the work is done and just needs a template so we can set document volumes, etc. It's above my abilities but maybe someone here can do it? #!/bin/sh set -e # This script is meant for quick & easy install via: # $ curl -fsSL get.mayan-edms.com -o get-mayan-edms.sh # $ sh get-mayan-edms.sh # # NOTE: Make sure to verify the contents of the script # you downloaded matches the contents of docker.sh # located at https://gitlab.com/mayan-edms/mayan-edms/blob/master/contrib/scripts/install/docker.sh # before executing. : ${VERBOSE:=true} : ${INSTALL_DOCKER:=false} : ${DELETE_VOLUMES:=false} : ${DATABASE_USER:=mayan} : ${DATABASE_NAME:=mayan} : ${DATABASE_PASSWORD:=mayanuserpass} : ${DOCKER_POSTGRES_IMAGE:=postgres:9.5} : ${DOCKER_POSTGRES_CONTAINER:=mayan-edms-postgres} : ${DOCKER_POSTGRES_VOLUME:=/docker-volumes/mayan-edms/postgres} : ${DOCKER_POSTGRES_PORT:=5432} : ${DOCKER_MAYAN_IMAGE:=mayanedms/mayanedms:latest} : ${DOCKER_MAYAN_CONTAINER:=mayan-edms} : ${DOCKER_MAYAN_VOLUME:=/docker-volumes/mayan-edms/media} cat << EOF ███╗ ███╗ █████╗ ██╗ ██╗ █████╗ ███╗ ██╗ ████╗ ████║██╔══██╗╚██╗ ██╔╝██╔══██╗████╗ ██║ ██╔████╔██║███████║ ╚████╔╝ ███████║██╔██╗ ██║ ██║╚██╔╝██║██╔══██║ ╚██╔╝ ██╔══██║██║╚██╗██║ ██║ ╚═╝ ██║██║ ██║ ██║ ██║ ██║██║ ╚████║ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ Docker deploy script NOTE: Make sure to verify the contents of this script matches the contents of docker.sh located at https://gitlab.com/mayan-edms/mayan-edms/blob/master/contrib/scripts/install/docker.sh before executing. EOF if [ "$VERBOSE" = true ]; then echo "Variable values to be used:" echo "---------------------------" echo "INSTALL_DOCKER: $INSTALL_DOCKER" echo "DELETE_VOLUMES: $DELETE_VOLUMES" echo "DATABASE_USER: $DATABASE_USER" echo "DATABASE_NAME: $DATABASE_NAME" echo "DATABASE_PASSWORD: $DATABASE_PASSWORD" echo "DOCKER_POSTGRES_IMAGE: $DOCKER_POSTGRES_IMAGE" echo "DOCKER_POSTGRES_CONTAINER: $DOCKER_POSTGRES_CONTAINER" echo "DOCKER_POSTGRES_VOLUME: $DOCKER_POSTGRES_VOLUME" echo "DOCKER_POSTGRES_PORT: $DOCKER_POSTGRES_PORT" echo "DOCKER_MAYAN_IMAGE: $DOCKER_MAYAN_IMAGE" echo "DOCKER_MAYAN_CONTAINER: $DOCKER_MAYAN_CONTAINER" echo "DOCKER_MAYAN_VOLUME: $DOCKER_MAYAN_VOLUME" echo "\nStarting in 10 seconds." sleep 10 fi if [ "$INSTALL_DOCKER" = true ]; then echo -n "* Installing Docker..." curl -fsSL get.docker.com -o get-docker.sh >/dev/null sh get-docker.sh >/dev/null 2>&1 rm get-docker.sh echo "Done" fi if [ -z `which docker` ]; then echo "Docker is not installed. Rerun this script with the variable INSTALL_DOCKER set to true." exit 1 fi echo -n "* Removing existing Mayan EDMS and PostgreSQL containers (no data will be lost)..." true || docker stop $DOCKER_MAYAN_CONTAINER >/dev/null 2>&1 true || docker rm $DOCKER_MAYAN_CONTAINER >/dev/null 2>&1 true || docker stop $DOCKER_POSTGRES_CONTAINER >/dev/null 2>&1 true || docker rm $DOCKER_POSTGRES_CONTAINER >/dev/null 2>&1 echo "Done" if [ "$DELETE_VOLUMES" = true ]; then echo -n "* Deleting Docker volumes in 5 seconds (warning: this delete all document data)..." sleep 5 true || rm DOCKER_MAYAN_VOLUME -Rf true || rm DOCKER_POSTGRES_VOLUME -Rf echo "Done" fi echo -n "* Pulling (downloading) the Mayan EDMS Docker image..." docker pull $DOCKER_MAYAN_IMAGE >/dev/null echo "Done" echo -n "* Pulling (downloading) the PostgreSQL Docker image..." docker pull $DOCKER_POSTGRES_IMAGE > /dev/null echo "Done" echo -n "* Deploying the PostgreSQL container..." docker run -d \ --name $DOCKER_POSTGRES_CONTAINER \ --restart=always \ -p $DOCKER_POSTGRES_PORT:5432 \ -e POSTGRES_USER=$DATABASE_USER \ -e POSTGRES_DB=$DATABASE_NAME \ -e POSTGRES_PASSWORD=$DATABASE_PASSWORD \ -v $DOCKER_POSTGRES_VOLUME:/var/lib/postgresql/data \ $DOCKER_POSTGRES_IMAGE >/dev/null echo "Done" echo -n "* Waiting for the PostgreSQL container to be ready (10 seconds)..." sleep 10 echo "Done" echo -n "* Deploying Mayan EDMS container..." docker run -d \ --name $DOCKER_MAYAN_CONTAINER \ --restart=always \ -p 80:8000 \ -e MAYAN_DATABASE_ENGINE=django.db.backends.postgresql \ -e MAYAN_DATABASE_HOST=172.17.0.1 \ -e MAYAN_DATABASE_NAME=$DATABASE_NAME \ -e MAYAN_DATABASE_PASSWORD=$DATABASE_PASSWORD \ -e MAYAN_DATABASE_USER=$DATABASE_USER \ -e MAYAN_DATABASE_PORT=$DOCKER_POSTGRES_PORT \ -e MAYAN_DATABASE_CONN_MAX_AGE=60 \ -v $DOCKER_MAYAN_VOLUME:/var/lib/mayan \ $DOCKER_MAYAN_IMAGE >/dev/null echo "Done" echo -n "* Waiting for the Mayan EDMS container to be ready (might take a few minutes)..." while ! curl --output /dev/null --silent --head --fail http://localhost:80; do sleep 1 && echo -n .; done; echo "Done"
  2. There are a couple disk intensive dockers out there that will do this on my system as well.
  3. I'm running 6.5.3 with 2 ssd cache drives, and 8 8tb drives formatted to xfs. The server becomes unresponsive several times a day for a few to several minutes with top showing shfs at 100%. Often Java and Crashplan (docker) is up there at the same time but not always. What are some things I should be looking at to fix this?
  4. What is gained by updating the docker container if we updated Nextcloud through its GUI?
  5. What are the weekly (or that's what it seems like) container updates doing? Where can I find the changelog? I updated Nextcloud through its WebGUI, do I need to also do the container updates through unRAID?
  6. I followed Spaceinvaderone's video in getting Nextcloud running with letsencrypt and a personal DNS and everything seems to be working great. However, if I go to my public IP address I land on a page that shows: Welcome to our server The website is currently being setup under this address. For help and support, please contact: [email protected] Is there a way to prevent that?
  7. Duplicati dies a lot on my system. It becomes unresponsive, I can't get to the webpage but I can get into the console. Top from within the container shows zero cpu and memory. I can't get the container to stop even if I issue the kill command. Any ideas on what I should look for?
  8. Sounds like they won't support any Linux file system except unencrypted ext4. I received the email from them today that identified my unRAID server using your docker as not compatible beginning November 1. Luckily, I just got Nextcloud running so goodbye Dropbox.
  9. Is there a way do get Nextcloud to OCR and index my documents with this install? I tried installing Elastic Search but unfortunately it looks like I would need to run things from the command line so it wouldn't persist after container updates.
  10. Here's their new process for installing the current version https://groups.google.com/forum/#!topic/mayan-edms/IMjVzpMn6PU Can I just run this from the unRAID command line and have it set up the docker container?
  11. I have syncthing setup and working perfectly but I need to add another share to give syncthing access. Right now I have "/mnt/user/unRAID/" set as "/sync" in Host Path 2. I would like to change that to "mnt/user/" to give access to other shares. Is this possible without the docker reinstalling and losing the current settings? I've made similar changes to other docker containers and it's resulted in losing all the settings and the container installing fresh.
  12. https://github.com/RyanNoelk/OpenEats They have a container that I installed in a VM but I thought an unRAID template would get some interest from others. It's a great web based multi-user recipe manager.
  13. I have unassigned devices installed and planned on using the ext3 formatted Drobo S as a backup. When I plug it in, get this in unassigned devices "Please wait, retrieving information ..." but nothing ever shows. This shows up in the log: Feb 9 06:38:22 Adama unassigned.devices: benchmark: shell_exec(/usr/sbin/hdparm -C /dev/sdb 2>/dev/null| /bin/grep -c standby) took 31.702892s. Feb 9 06:40:00 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:40:16 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:41:02 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:41:18 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:42:04 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:42:19 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:43:06 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:43:21 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:44:07 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:44:24 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:45:09 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:45:26 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:46:11 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:46:28 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:47:14 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:47:30 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:48:16 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:48:32 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:49:18 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:49:34 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:50:04 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:50:20 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:50:36 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:50:36 Adama unassigned.devices: benchmark: shell_exec(/usr/sbin/hdparm -C /dev/sdb 2>/dev/null| /bin/grep -c standby) took 48.294168s. Feb 9 06:50:51 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:51:56 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:52:13 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:52:58 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:53:15 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:53:31 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:53:47 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:54:02 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:54:03 Adama unassigned.devices: benchmark: shell_exec(/usr/sbin/hdparm -C /dev/sdb 2>/dev/null| /bin/grep -c standby) took 77.312120s. Feb 9 06:54:19 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:55:17 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:55:33 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:56:27 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:56:43 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:56:59 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:56:59 Adama unassigned.devices: benchmark: shell_exec(/usr/sbin/hdparm -C /dev/sdb 2>/dev/null| /bin/grep -c standby) took 48.061619s. Feb 9 06:57:14 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:58:14 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:58:30 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:58:46 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:59:01 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:59:02 Adama unassigned.devices: benchmark: shell_exec(/usr/sbin/hdparm -C /dev/sdb 2>/dev/null| /bin/grep -c standby) took 40.669841s. Feb 9 06:59:28 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Feb 9 06:59:43 Adama kernel: usb 2-1.8: reset high-speed USB device number 7 using ehci-pci Is the Drobo just not compatible?
  14. I have a Drobo S that I've been using for years as a NAS connected to my Mac server. I've but for my unRAID server all setup and the files transferred from the Drobo and an wondering about connecting there Drobo directly to the unRAID server and use it as another backup (I have other backups). Is anyone doing this? It's currently formatted to hsf but I'm assuming I'll need to format it to ext3 (I don't believe 4 is supported in the Drobo)
  15. I have a python script that monitors a folder and uses Mutt to email new files as attachments. I would like it to monitor a share and unRAID. It's running on a Ubuntu 16.04 server VM now but it seems like a docker would be a better choice(?) If so, what's the best way to go about making this happen? Should I install a Mutt container then install python inside the container? Is there such a thing as a base Ubuntu container that I should install everything in? Or just keep the VM?
  16. I would be happy to send the screenshot but I ended up moving to a VM and installed it with MySql. The built in database just couldn't keep up with the document load.
  17. I was able to get this one running pretty easily https://hub.docker.com/r/garrettheath4/docker-insync/ The Insync app pulls in the license so it should be fine with them?'
  18. I currently use this (commercial) software to keep my Gdrive synced on Linux and it works great!) I'm also running their headless install in a VM on unRAID but think a docker would be very nice to have. There are a couple dockers out there, https://github.com/oneguynick/insync https://hub.docker.com/r/bogclay/insync-headless/, but not knowing enough about Dockers, I haven't tried them.
  19. I am really hoping someone can help me with this. I was able to get MayanEDMS docker installed and working but because of the amount of data I'm trying to load into it, it starts chocking because of the default database it uses. They have instructions for how to install using a mysql docker https://www.mayan-edms.com/post/deploy-mayan-docker-mysql/ I went through that process on a Ubuntu VM and it works very good. The issue is that it stores all the data in /var/lib/docker/volumes and I can't for the life of me get it to store the data on a unRAID share. I have a share mounted and accessible on the VM but I can't get docker to use it. Is there anyone that can either help me install dockers as described in the second link directly on unRAID or give me some pointers to get the persistent volume on a VM to be on a unRAID share? Free would be great but I am more than willing to pay someone for their time. I've been at this for 2 days and I'm not getting far...
  20. I know this is an old post but I was able to install the Mayan EDMS docker on unRAID. I passed shares to it so the files would be stored outside the docker. So far it seems to be working great. I would be happy to share a screenshot of the settings if anyone would like to see it.
  21. I've been trying to get a Ubuntu 16.04 server installed in a VM. I leave most of the options default when I click the Ubuntu option for a new VM. The only thing I change is the CPU's, memory, and set the vdisk to 100G. This install hangs at random times and only once (in 3 install attempts) has the install finished but then it wouldn't boot (no operating system found). I'm currently attempting to install with seaBIOS set at the BIOS this time and I'll see how it goes. What are the correct VM settings to get Ubuntu server running?
  22. Logicaldoc docker would be amazing! There is already a docker container set up but I don't know how to install it outside of the way unRAID does it. https://hub.docker.com/r/logicaldoc/logicaldoc-ce-mysql/builds/ I'll pay someone to do this, just send me a message.
  23. I've been searching for a document management system to replace DevonThinkPro (the only reason I need to keep a Mac server running) and I think LogicalDoc fits the bill. They have a Docker container https://docs.logicaldoc.com/en/installation/install-with-docker but I'm not sure how to make this work in unRAID like the rest of the Docks. Any tips on getting this running and showing up with the rest of the docks?