-
Notifications
You must be signed in to change notification settings - Fork 4
/
CHANGELOG
165 lines (125 loc) · 7.75 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
## [1.3.4] - 2022-10-29
- Update to Nextcloud 24.0.6 [6ae6b02]
## [1.3.3] - 2022-09-14
- Update images [0164589]
- Remove build network from Docker compose files [d873305, 3bbd13e]
## [1.3.2] - 2022-05-29
- Update images [88bde97]
## [1.3.1] - 2022-03-27
- Update images [899175e]
Note that newer versions of Docker use BuildKit by default, which may fail to build compose files that use custom networks.
If you see an error message similar to this: "network mode "common" not supported by buildkit. You can define a custom network for your builder using the network driver-opt in buildx create."
try disabling BuildKit by settings environment variable DOCKER_BUILDKIT=0.
## [1.3.0] - 2022-01-09
- Update Docker images [0a92490]
- Update Nextcloud to 23.0.0 and PostgreSQL to 14.1
Note that due to major version upgrade for PostgreSQL manual DB conversion is required:
- Stop Nextcloud completely and backup its database by making a copy of /src/nextcloud/db directory.
- Start nextcloud-db container and create a DB dump:
$ sudo docker exec -i nextcloud-db pg_dumpall --username nextcloud --clean > nextcloud_db.sql
- Stop nextcloud-db container, edit Nextcloud Docker Compose file and update the DB image to 14.1
- Delete everythin inside /srv/nextcloud/db directory
- Start the new nextcloud-db container using Docker Compose
- Restore the DB from the dump:
$ sudo docker exec -i nextcloud-db psql --username nextcloud nextcloud < nextcloud_db.sql
- After the restore completes, stop the nextcloud-db container and replace host auth method back to md5 by editing /srv/nextcloud/db/pg_hba.conf file:
host all all all md5
- Start all Nextcloud containers
- Update Firefly III to 5.5.13 and PostgreSQL to 14.1
Note that due to major version upgrade for PostgreSQL manual DB conversion is required:
- Stop firefly-app and firefly-db containers and backup the database by making a copy of /srv/firefly/db directory.
- Start firefly-db container and create a DB dump:
$ sudo docker exec -i firefly-db pg_dumpall --username firefly --clean > firefly_db.sql
- Stop firefly-db container, edit Firefly Docker Compose file and update the DB image to 14.1
- Delete everythin inside /srv/firefly/db directory
- Start the new firefly-db container using Docker Compose
- Restore the DB from the dump:
$ sudo docker exec -i firefly-db psql --username firefly firefly < firefly_db.sql
- After the restore completes, stop the firefly-db container and replace host auth method back to md5 by editing /srv/firefly/db/pg_hba.conf file:
host all all all md5
- Start all Firefly containers
- Update to Docker Compose v2 [7323225]
Note that Docker compose v2 command is 'docker compose' as opposed to 'docker-compose'.
There are few places in the document where 'docker-compose' needs to be manually replaced with the 'docker compose'
(for example, in systemctl units for starting up containers).
The easiest way to find these places is to search for the 'docker compose' string.
## [1.2.5] - 2021-04-15
- Update: Nextcloud 21.0.1, Debian 10.9 [f1d35a1]
## [1.2.4] - 2021-03-14
- Update to Nextcloud 20.0.8, PostgreSQL 13.1 [193d520]
- Remove port mapping from reverse proxy [14b21d2]
## [1.2.3] - 2021-02-11
- Update to Nextcloud 20.0.7, Debian 10.8 [2519b3c]
- More details on NFS client with Kerberos [6d5ef14]
## [1.2.2] - 2020-11-29
- Update Nextcloud to 20.0.2 [6daecc9]
## [1.2.1] - 2020-11-22
- Added missing Firefly III update section [f227717]
- Update Nextcloud and Postgres [d62c45e]
## [1.2.0] - 2020-11-15
- Add missing auto startup for reverse proxy [e804daf]
- Added Firefly III instructions [97b07b8]
- Add X-Forwarded-Proto header to reverse proxy [057e8ea]
## [1.1.0] - 2020-11-07
- Added section on internal reverse proxy server setup [1d75b17]
- Improve Nextcloud certificate instructions [2f7aa04]
This update includes some minor changes to renewal script for Nextcloud.
If you have Nextcloud deployed, the scripts should be manually updated to match the new document.
- Fix spelling [8319a5f]
## [1.0.2] - 2020-10-10
- Update Nextcloud to 19.0.4-fpm and Postgres to 13.0 [b53d512]
Note that due to major version upgrade for PostgreSQL manual DB conversion is required:
- First stop Nextcloud and backup its database (for example, by making a copy of /srv/nextcloud/db directory). Then start it again.
- Unfortunately, there is no easy upgrade path between major PostgreSQL versions (see https://github.com/docker-library/postgres/issues/37 issue) when using Docker.
One way would be to use pg_upgrade (for example, see https://github.com/tianon/docker-postgres-upgrade) but it appears to be unreliable.
The easiest way seems to be to just dump and restore database:
- Stop nextcloud-web and nextcloud-fpm containers
- Create a full dump of the DB using currently running nextcloud-db container:
$ sudo docker exec -i nextcloud-db pg_dumpall --username nextcloud --clean > db_dump.sql
- Stop nextcloud-db container, edit Nextcloud docker-compose.yml file and update DB image to desired version (13.0)
- Delete everything inside /srv/nextcloud/db directory (make sure you have backup of it before doing this)
- Start new nextcloud-db container with the new PostgreSQL version
- Restore the DB from the dump:
$ sudo docker exec -i nextcloud-db psql --username nextcloud nextcloud < db_dump.sql
- After restore completes the nextcloud-web and nextcloud-fpm containers can be started back up
## [1.0.1] - 2020-09-14
- Update Nextcloud to 19.0.3-fpm and Postgres to 12.4 [23293c2]
## [1.0.0] - 2020-08-16
- Add preamble and icon. Improve some sections. Fix typos. [af07d23]
- Move ToC on the left [f7046dd]
- Removed workaround for nextcloud/docker bug #345 as it now fixed [c5e2aef]
- Update Nextcloud to 19.0.1. Fix nextcloud-fpm container. [0121898]
- Put Nextcloud to maintenance mode during backup [3165e48]
- Switch away from Alpine to Debian Docker images [41d46b0]
* All Alpine images replaced with Debian (slim) images.
Note that for two Nextcloud containers (HTTPD and Postgres) the update
requires manual UID/GID update, as Debian uses different UID/GID for
users postgres and www-data. To do the update, stop Nextcloud, and then
run the following commands before starting it again with Debian based
images:
sudo find /srv/nextcloud -uid 82 -exec chown 33 {} \;
sudo find /srv/nextcloud -gid 82 -exec chgrp 33 {} \;
sudo find /srv/nextcloud -uid 70 -exec chown 999 {} \;
sudo find /srv/nextcloud -gid 70 -exec chgrp 999 {} \;
* Apache HTTPD updated to 2.4.46
* Use build-in Docker init (added in Docker 19) instead of Tini
- Set token_auth_enforced parameter in Nextcloud [2226387]
- Bump docker image versions [01ce933]
Postgres: 12.3
## [0.2.0] - 2019-11-17
- Added chapter on Git server configuration. [38fcc2d5]
- Fixed typo in copying public SSH key for SOCKS5-VPN proxy. [28c1bc20]
## [0.1.2] - 2019-10-20
- Remove paragraph about max upload size config. Max upload size setting has been removed from UI and now is not necessary, as chunked upload was implemented. [7c0468d]
- Bump Nextcloud's Postgres version to `12.0`. [1b400ab]
- Bump Nextcloud version to `17.0.0`. [bbdc3e2]
- Bump httpd version to `2.4.41`. [1a40a09]
- Bump Alpine version to `3.10.2`. [aeb4ecb]
- Fix typos. Fixes #1. [26e1bad]
## [0.1.1] - 2019-07-14
- Added power consumption information. [6a793e0e]
- Fixed invalid Docker network names in Docker Compose files.
Added attributes for all Docker images versions.
Bumped Docker images versions to current versions. [0da6c15d]
## [0.1.0] - 2019-07-06
Initial version published.