A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Check if the user has permissions for Docker
Daniel67437f7b9cb1
diff --git a/install-paperless-ng.sh b/install-paperless-ng.shindex 8fb44e222..b0f0950fc 100755--- a/install-paperless-ng.sh+++ b/install-paperless-ng.sh@@ -64,6 +64,17 @@ if [[ -z $(which docker-compose) ]] ; thenexit 1fi+# Check if user has permissions to run Docker by trying to get the status of Docker (docker status).+# If this fails, the user probably does not have permissions for Docker.+docker stats --no-stream 2>/dev/null 1>&2+if [ $? -ne 0 ] ; then+ echo ""+ echo "WARN: It look like the current user does not have Docker permissions."+ echo "WARN: Use 'sudo usermod -aG docker $USER' to assign Docker permissions to the user."+ echo ""+ sleep 3+fi+echo ""echo "############################################"echo "### Paperless-ng docker installation ###"