Ray
Members-
Posts
28 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Everything posted by Ray
-
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"
-
There are a couple disk intensive dockers out there that will do this on my system as well.
-
What is gained by updating the docker container if we updated Nextcloud through its GUI?
-
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?
-
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?
-
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?
-
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.
-
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.
-
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?
-
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.
-
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.
-
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.
-
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...
-
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.
-
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.
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Ray replied to SpaceInvaderOne's topic in VMs
I uploaded a ISO of the usb boot disk that I've successfully used to install in the past to unRAID (I'm not local to the unRAID server for a while) to try to reinstall OSX that somehow corrupted the vdisk. I've followed the video to install but did the qemu-img command on the iso file instead of the usb disk. Clover boots but doesn't show any disk option. Any ideas what could be causing this? -
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Ray replied to SpaceInvaderOne's topic in VMs
I had this running pretty well for a few days then it stopped booting. It looks like files on unraid were deleted (no idea how...). I'm now 100's of miles away from the unraid server but I do still have the flash drive with the install files on it. Is there anyway to do the install remotely? I no longer have the .img file on the server that was created with the qemu-img command. Is there a way to do this remotely?