Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-07-24 18:43:12 +0300
committernachoparker <nacho@ownyourbits.com>2017-08-11 00:17:55 +0300
commit49ded4f73273ea18dea8d1969e5997056e9ff6a1 (patch)
tree54fe77496eaa831d085547505ff37621470969c3
parent90ff8b516e797ea6426667132fbf738e8df18a1d (diff)
update README.md
-rw-r--r--README.md25
-rw-r--r--ncp-web/ncp-launcher.php4
2 files changed, 18 insertions, 11 deletions
diff --git a/README.md b/README.md
index 5fbd3fd9..85ac7738 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# NextCloudPi
-![NC Logo](/resources/nextcloud-square-logo.png)
+![NC Logo](https://ownyourbits.com/wp-content/uploads/2017/02/nextcloudpi-logo.png)
This is the build code for [NextCloudPi](https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/).
@@ -28,6 +28,7 @@ This code also generates the [NextCloudPi ARM docker image](https://hub.docker.c
## Extras
+ * NextCloudPi Web Panel ( NEW 07-24-2017 )
* Wi-Fi ready ( NEW 03-31-2017 )
* Automatic security updates, activated by default. ( NEW 03-21-2017 )
* Let’s Encrypt for trusted HTTPS certificates.( NEW 03-16-2017 )
@@ -48,6 +49,20 @@ This code also generates the [NextCloudPi ARM docker image](https://hub.docker.c
Any extra can be installed independently in a running Raspbian instance through SSH. See `installer.sh`
+Extras can be activated and configured using the web interface at HTTPS port 4443
+
+
+![NCP-config](https://ownyourbits.com/wp-content/uploads/2017/07/web-letsencrypt.jpg)
+
+, or from the command line from
+
+```
+sudo nextcloudpi-config
+```
+
+![NCP-config](https://ownyourbits.com/wp-content/uploads/2017/03/ncp-conf-700x456.jpg)
+
+
## How to build
NextCloudPi is based on Raspbian and is automatically generated using QEMU.
@@ -58,12 +73,6 @@ cd nextcloudpi
./batch.sh 192.168.0.145 # change to your QEMU raspbian IP
```
-Extras can be activated and configured using
-
-```
-sudo nextcloudpi-config
-```
-
The docker image can be generated in an ARM environment with docker
```
@@ -71,8 +80,6 @@ git clone https://github.com/nextcloud/nextcloudpi.git
make -C nextcloudpi
```
-![NCP-config](/resources/ncp-config.jpg)
-
## Downloads
Get the image, find details and more instructions at
diff --git a/ncp-web/ncp-launcher.php b/ncp-web/ncp-launcher.php
index 43df0c8e..03672c78 100644
--- a/ncp-web/ncp-launcher.php
+++ b/ncp-web/ncp-launcher.php
@@ -19,7 +19,7 @@ if ( $_POST['action'] == "cfgreq" )
//CSFR check
$token = isset($_POST['csrf_token']) ? $_POST['csrf_token'] : '';
if ( empty($token) || !validateCSRFToken($token) )
- exit( '{ "output": "Unauthorized request" }' );
+ exit( '{ "output": "Unauthorized request. Try reloading the page" }' );
$path = '/usr/local/etc/nextcloudpi-config.d/';
$files = array_diff(scandir($path), array('.', '..'));
@@ -55,7 +55,7 @@ else if ( $_POST['action'] == "launch" && $_POST['config'] )
// CSRF check
$token = isset($_POST['csrf_token']) ? $_POST['csrf_token'] : '';
if ( empty($token) || !validateCSRFToken($token) )
- exit( '{ "output": "Unauthorized request" }' );
+ exit( '{ "output": "Unauthorized request. Try reloading the page" }' );
chdir('/usr/local/etc/nextcloudpi-config.d/');