Ray

Members
  • Posts

    28
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Ray's Achievements

Noob

Noob (1/14)

6

Reputation

  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?