diff options
author | git-marijus <mario@mariovavti.com> | 2018-05-11 13:03:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-11 13:03:28 +0200 |
commit | 10ce6cc154ff42fed9fa538e32a796baa1d14a17 (patch) | |
tree | 8bfd84f5bb4ac781a72bdb47a4cec3f66240866a | |
parent | 7c1d1f8bd3abd2e7c31981f24ac840dc9c0ff035 (diff) | |
parent | 1b959a4731dfeac3fa6a9f8443ef2fe82538ccdc (diff) | |
download | volse-hubzilla-10ce6cc154ff42fed9fa538e32a796baa1d14a17.tar.gz volse-hubzilla-10ce6cc154ff42fed9fa538e32a796baa1d14a17.tar.bz2 volse-hubzilla-10ce6cc154ff42fed9fa538e32a796baa1d14a17.zip |
Merge pull request #1164 from einervonvielen/install_imagemagick
Install imagemagick. Instructions to avoid DNS check if it fails.
-rw-r--r-- | .homeinstall/README.md | 35 | ||||
-rwxr-xr-x | .homeinstall/hubzilla-setup.sh | 16 |
2 files changed, 43 insertions, 8 deletions
diff --git a/.homeinstall/README.md b/.homeinstall/README.md index 8b23b9c44..7870e65dd 100644 --- a/.homeinstall/README.md +++ b/.homeinstall/README.md @@ -39,7 +39,7 @@ Software - mkdir -p /var/www - cd /var/www - git clone https://github.com/redmatrix/hubzilla.git html - - cd /html/.homeinstall + - cd html/.homeinstall - cp hubzilla-config.txt.template hubzilla-config.txt - nano hubzilla-config.txt - Read the comments carefully @@ -50,6 +50,20 @@ Software - reboot + Open your domain with a browser and step throught the initial configuration of hubzilla. +## Troubleshooting + +If the check of the mail address fails when you try to register the very first user in the browser. Do... + + cd /var/www/html + util/config system.do_not_check_dns 1 + +## Optional - Set path to imagemagick + +In Admin settings of hubzilla or via terminal + + cd /var/www/html + util/config system.imagick_convert_path /usr/bin/convert + # Step-by-Step in Detail ## Preparations Hardware @@ -120,7 +134,7 @@ There are two ways to get a domain... The cost are around 10,- € once and 1,50 € per month (2017). -### Method 2 Register a (free) Subdomain +### Method 2: Register a free subdomain ...for example register at freedns.afraid.org @@ -189,9 +203,16 @@ Leave db type "MySQL" untouched. Follow the instructions in the next pages. +Recommended: Set path to imagemagick + +- in admin settings of hubzilla or +- via terminal + + util/config system.imagick_convert_path /usr/bin/convert + After the daily script was executed at 05:30 (am) -- look at var/www/html/hubzilla-daily.log +- look at /var/www/html/hubzilla-daily.log - check your backup on the external drive - optionally view the daily log under yourdomain.org/admin/logs/ - set the logfile to var/www/html/hubzilla-daily.log @@ -213,4 +234,12 @@ to boot the Rapsi to the client console. DO NOT FORGET TO CHANGE THE DEFAULT PASSWORD FOR USER PI! +On a Raspian Stretch (Debian 9) the validation of the mail address fails for the very first user. +This used to happen on some *bsd distros but there was some work to fix that a year ago (2017). + +So if your system isn't registered in DNS or DNS isn't active do + + cd /var/www/html + util/config system.do_not_check_dns 1 + diff --git a/.homeinstall/hubzilla-setup.sh b/.homeinstall/hubzilla-setup.sh index 3ad9aa37f..a38e36b73 100755 --- a/.homeinstall/hubzilla-setup.sh +++ b/.homeinstall/hubzilla-setup.sh @@ -136,17 +136,17 @@ function check_config { # backup is important and should be checked if [ -n "$backup_device_name" ] then - device_mounted=0 + if [ ! -d "$backup_mount_point" ] + then + mkdir "$backup_mount_point" + fi + device_mounted=0 if fdisk -l | grep -i "$backup_device_name.*linux" then print_info "ok - filesystem of external device is linux" if [ -n "$backup_device_pass" ] then echo "$backup_device_pass" | cryptsetup luksOpen $backup_device_name cryptobackup - if [ ! -d /media/hubzilla_backup ] - then - mkdir /media/hubzilla_backup - fi if mount /dev/mapper/cryptobackup /media/hubzilla_backup then device_mounted=1 @@ -246,6 +246,11 @@ function install_apache { nocheck_install "apache2 apache2-utils" } +function install_imagemagick { + print_info "installing imagemagick..." + nocheck_install "imagemagick" +} + function install_curl { print_info "installing curl..." nocheck_install "curl" @@ -801,6 +806,7 @@ update_upgrade install_curl install_sendmail install_apache +install_imagemagick install_php install_mysql install_phpmyadmin |