Skip to content

Commit 0decaa0

Browse files
Update INSTALL.md
1 parent 32bc38b commit 0decaa0

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

INSTALL.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,29 @@ sudo snap restart nextcloud.apache
8585
```
8686
/var/snap/nextcloud/current/nextcloud/config/htdocs /snap/nextcloud/current/htdocs none auto,bind,x-systemd.before=snap.nextcloud.apache.service,x-systemd.requires-mounts-for=/snap/nextcloud/current/,x-systemd.required-by=snap.nextcloud.apache.service 0 0
8787
```
88+
89+
## Troubleshooting
90+
* if installing the app from source, make sure you run `apt install -y composer`, `composer update`, and `composer install --no-dev --prefer-dist`
91+
* when editing /var/www/html/.htaccess make sure that you run `sudo a2enmod rewrite`, edit your `/etc/apache2/sites-enabled/000-default.conf` to something like:
92+
```
93+
<VirtualHost *:443>
94+
DocumentRoot /var/www/html
95+
ErrorLog ${APACHE_LOG_DIR}/error.log
96+
CustomLog ${APACHE_LOG_DIR}/access.log combined
97+
98+
SSLEngine on
99+
SSLCertificateFile "/etc/letsencrypt/live/cloud.pondersource.org/fullchain.pem"
100+
SSLCertificateKeyFile "/etc/letsencrypt/live/cloud.pondersource.org/privkey.pem"
101+
</VirtualHost>
102+
<VirtualHost *:80>
103+
DocumentRoot /var/www/html
104+
ErrorLog ${APACHE_LOG_DIR}/error.log
105+
CustomLog ${APACHE_LOG_DIR}/access.log combined
106+
</VirtualHost>
107+
<Directory /var/www/>
108+
Options Indexes FollowSymLinks
109+
AllowOverride All
110+
Require all granted
111+
</Directory>
112+
```
113+
and then run `systemctl restart apache2`.

0 commit comments

Comments
 (0)