You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Containers/NextCloud.md
+18-17Lines changed: 18 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,19 +63,19 @@ The passwords need to be set before you bring up the Nextcloud service for the f
63
63
```
64
64
$ cd ~/IOTstack
65
65
```
66
-
66
+
67
67
2. If the stack is running, take it down:
68
68
69
69
```
70
70
$ docker-compose down
71
71
```
72
-
72
+
73
73
3. Erase the persistent storage area for Nextcloud (double-check the command *before* you hit return):
74
74
75
75
```
76
76
$ sudo rm -rf ./volumes/nextcloud
77
77
```
78
-
78
+
79
79
This is done to force re-initialisation. In particular, it gives you assurance that the passwords in your `docker-compose.yml` are the ones that are actually in effect.
80
80
81
81
4. Bring up the stack:
@@ -87,17 +87,17 @@ The passwords need to be set before you bring up the Nextcloud service for the f
87
87
5. Check for errors:
88
88
89
89
Repeat the following command two or three times at 10-second intervals:
90
-
90
+
91
91
```
92
92
$ docker ps
93
93
```
94
94
95
95
You are looking for evidence that the `nextcloud` and `nextcloud_db` containers are up, stable, and not restarting. If you see any evidence of restarts, try to figure out why using:
96
-
96
+
97
97
```
98
98
$ docker logs nextcloud
99
99
```
100
-
100
+
101
101
6. If you want to be sure Nextcloud gets set up correctly, it is best to perform the remaining steps from a **different** computer.
102
102
103
103
That means you need to decide how that **other** computer will refer to your Raspberry Pi running Nextcloud. Your choices are:
@@ -107,7 +107,7 @@ The passwords need to be set before you bring up the Nextcloud service for the f
107
107
* your Raspberry Pi's host name – eg `myrpi`
108
108
109
109
Key points:
110
-
110
+
111
111
* You **can't** use a multicast domain name (eg `myrpi.local`). An mDNS name will not work until Nextcloud has been initialised!
112
112
* Once you have picked a connection method, **STICK TO IT**.
113
113
* You are only stuck with this restriction until Nextcloud has been initialised. You **can** (and should) fix it later by completing the steps in ["Access through untrusted domain"](#untrustedDomain).
@@ -131,38 +131,39 @@ The passwords need to be set before you bring up the Nextcloud service for the f
If you examine the contents of your browser's URL bar, you will find:
146
-
146
+
147
147
```
148
148
http://localhost/index.php/core/apps/recommended
149
149
```
150
-
151
-
That is **clearly** wrong and it is probably a bug in Nextcloud.
150
+
151
+
That is **clearly** wrong and it is probably a bug in Nextcloud.
152
+
152
153
10. Edit the URL to replace `localhost` with what it *should* be, which will be **one** of the following patterns, depending on which method you chose to access Nextcloud:
0 commit comments