z FAQ

Ezra edited this page May 12, 2016 · 3 revisions

Question Why is my build so slow?

Answer

  • Make sure you use a Micro SDCard HC class 1 or higher (this is not a normal sdcard with class 4, 6, 8 or 10)

  • Make sure you use a Harddrive powered by a external USB HUB (not directly connected to the RPI)

  • It would be best to use a SolidStateDrive (if not use a disk with read/write speeds over 30mb/s)


Question How do I change the location of my data folder?

Awnser

sudo -i

mkdir /owncloud

mkdir /owncloud/data

find /owncloud/ -type f -print0 | xargs -0 chmod 0640

find /owncloud/ -type d -print0 | xargs -0 chmod 0750

rsync -AavX /var/www/owncloud/data/* /owncloud/data/

sed -i 's|${ocpath}/data/|/owncloud/data|g' /var/scripts/setup_secure_permissions_owncloud.sh

sed -i 's|${ocpath}/data/.htaccess|/owncloud/data/.htaccess|g' /var/scripts/setup_secure_permissions_owncloud.sh

echo "find /owncloud/ -type f -print0 | xargs -0 chmod 0640" >> /var/scripts/setup_secure_permissions_owncloud.sh

echo "find /owncloud/ -type d -print0 | xargs -0 chmod 0750" >> /var/scripts/setup_secure_permissions_owncloud.sh

rsync -AavX /var/www/owncloud/data/.htaccess /owncloud/data/

rsync -AavX /var/www/owncloud/data/.ocdata /owncloud/data/

sed -i 's|'datadirectory' => '/var/www/owncloud/data',|'datadirectory' => '/owncloud/data',|g' /var/www/owncloud/config/config.php

sed -i 's|'logfile' => '/var/www/owncloud/data/owncloud.log',|'logfile' => '/owncloud/data/owncloud.log',|g' /var/www/owncloud/config/config.php

bash /var/scripts/setup_secure_permissions_owncloud.sh

sed -i 's|/var/www/owncloud/data|/owncloud/data|g' /etc/fail2ban/jail.local && service fail2ban restart

sed -i 's|$OCPATH/data|/owncloud/data|g' /var/scripts/owncloud_update.sh

reboot

If it all works you can delete your old data folder.


Question How do I publish my server online, eg using my WAN IP or my own domain?

Answer

https://www.techandme.se/open-port-80-443/


Question How do I change my ownCloud theme?

Answer

https://www.techandme.se/owncloud-theming/


Question How do I get a green lock in my address bar, https traffic?

Answer


Question How do I set back the overclock settings?

Answer


Question How do I overclock even more or tweak the settings like voltage and Mhz?

Answer


Please post suggestions to this page on the issue page.