Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jancborchardt/nextcloud-scripts
☁️ Scripts to easier set up & update Nextcloud
https://github.com/jancborchardt/nextcloud-scripts
nextcloud nextcloud-installation script scripts
Last synced: 2 months ago
JSON representation
☁️ Scripts to easier set up & update Nextcloud
- Host: GitHub
- URL: https://github.com/jancborchardt/nextcloud-scripts
- Owner: jancborchardt
- Created: 2013-09-25T08:35:18.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-21T10:15:03.000Z (over 4 years ago)
- Last Synced: 2024-11-02T02:33:02.111Z (2 months ago)
- Topics: nextcloud, nextcloud-installation, script, scripts
- Language: Shell
- Homepage: https://nextcloud.com
- Size: 410 KB
- Stars: 61
- Watchers: 6
- Forks: 16
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :rainbow: :dancer: :hammer: How to
Set the permissions to run the script:
```
$ chmod a+x nextcloud--.sh
```Run it:
```
$ chmod a+x nextcloud--.sh
```
## :pencil2: Apache configuration for symlinks### :bangbang: “Symbolic link not allowed or link target not accessible"
:pushpin: The script creates a symlink from your home directory to the server folder. Apache will throw the error “Symbolic link not allowed or link target not accessible" in /var/log/apache2/error_log if you do not to configure it properly as described bellow.#### :crocodile: openSUSE Linux
Add the following lines to /etc/apache2/default-server.conf:
```
Options Indexes FollowSymLinks
AllowOverride None
```The settings need to be in ``````:
```
DocumentRoot "/srv/www/htdocs"#
# Configure the DocumentRoot
#Options Indexes FollowSymLinks
AllowOverride None
#Require all granted
```Restart Apache:
```
$ sudo apache2ctl restart
```### :smiley_cat: Ubuntu
WIP
### 🔒 If your home folder is encrypted
The symlinks will not work, so you need to work around that as described at this link: https://stackoverflow.com/a/39037942
```
$ sudo apt-get install lsyncd
```
Starting the background service
```
$ sudo lsyncd -rsync /home//nextcloud/ /var/www/html/nextcloud/
```
Additionally set the permissions on the lsynced files in /var/www
```
sudo chown www-data:www-data /var/www/data
sudo chown :www-data /var/www/config/
sudo chmod 775 /var/www/config/
sudo chown :www-data /var/www/apps/
sudo chmod 775 /var/www/apps/
```