Girish Ramakrishnan
7cf80ebf69
postgresql: add connection logs
...
This was an attempt to fix connection leak in postgresql. It turns
out that there was a long running cron task which was holding a db
connection. When that happens, the apptask might fail because postgres
says db is in use. The code in scheduler.js currently does not really
'suspend' task running because of re-entrancy issues.
2022-04-28 16:11:09 -07:00
Girish Ramakrishnan
ac2186ccf6
redis: fix cgroup check
2022-04-27 18:46:00 -07:00
Johannes Zellner
de9f3c10f4
Use new sftp addon 3.6.1
...
This will copy the uploaded file on conflict with a unique .number
extension
2022-04-07 18:02:11 +02:00
Girish Ramakrishnan
fc2a326332
mysql: Fix default collation
...
https://github.com/mattermost/mattermost-server/issues/19602#issuecomment-1057360142
> SELECT @@character_set_database, @@collation_database;
This will show utf8mb4 and utf8mb4_0900_ai_ci (was utf8mb4_unicode_ci)
To see the table schemas:
> SELECT table_schema, table_name, table_collation FROM information_schema.tables;
2022-03-02 22:34:30 -08:00
Girish Ramakrishnan
34c3a2b42d
mail: increase pool_timeout
2022-02-24 12:25:38 -08:00
Girish Ramakrishnan
24a16cf8b4
redis: fix issue where protected mode was enabled with no password
2022-02-21 12:21:37 -08:00
Girish Ramakrishnan
8f4779ad2f
Update addons to listen on ipv6
...
docker sets up the hostname DNS to be ipv4 and ipv6
Part of #264
2022-02-10 10:53:46 -08:00
Girish Ramakrishnan
ca83deb761
Docker IPv6 support
...
Docker's initial IPv6 support is based on allocating public IPv6 to containers.
This approach has many issues:
* The server may not get a block of IPv6 assigned to it
* It's complicated to allocate a block of IPv6 to cloudron server on home setups
* It's unclear how dynamic IPv6 is. If it's dynamic, then should containers be recreated?
* DNS setup is complicated
* Not a issue for Cloudron itself, but with -P, it just exposed the full container into the world
Given these issues, IPv6 NAT is being considered. Even though NAT is not a security mechanism as such,
it does offer benefits that we care about:
* We can allocate some private IPv6 to containers
* Have docker NAT66 the exposed ports
* Works similar to IPv4
Currently, the IPv6 ports are always mapped and exposed. The "Enable IPv6" config option is only whether
to automate AAAA records or not. This way, user can enable it and 'sync' dns and we don't need to
re-create containers etc. There is no inherent benefit is not exposing IPv6 at all everywhere unless we find
it unstable.
Fixes #264
2022-02-09 23:54:53 -08:00
Girish Ramakrishnan
f0f9ade972
sftp: listen on ipv6
2022-02-09 23:15:37 -08:00
Girish Ramakrishnan
be9830d0d4
postgresql: enable postgis
2022-01-21 23:18:40 -08:00
Girish Ramakrishnan
3a19be5a2e
filemanager: fix file delete
2022-01-07 12:03:16 -08:00
Girish Ramakrishnan
5e9a46d71e
filemanager: fix mounting of filesystem and mountpoint backends
2021-12-24 15:05:51 -08:00
Girish Ramakrishnan
be8ab3578b
update mysql container
...
* remove 'request' module usage entirely
* http based service
2021-12-20 10:52:42 -08:00
Girish Ramakrishnan
43af0e1e3c
Update turn base image
2021-12-20 09:02:00 -08:00
Girish Ramakrishnan
43f33a34b8
switch mail container to http
2021-12-19 12:11:47 -08:00
Girish Ramakrishnan
d37652d362
postgresql container update
...
* makes the service http based
* no more request module usage
2021-12-17 13:26:34 -08:00
Girish Ramakrishnan
9590a60c47
Update base image of some addons to 3.2.0
2021-12-17 09:18:22 -08:00
Girish Ramakrishnan
34d11f7f6e
mongodb container update
...
* upgrades mongodb to 4.4
* makes the service http based
* no more request module usage
2021-12-16 22:49:38 -08:00
Girish Ramakrishnan
08d41f4302
update redis base image
2021-12-16 22:26:43 -08:00
Girish Ramakrishnan
219fafc8e4
Update base image to 3.2.0 (mongodb 4.4)
2021-12-16 16:26:31 -08:00
Girish Ramakrishnan
53593a10a9
redis: fix issue with double headers
2021-12-16 14:06:52 -08:00
Girish Ramakrishnan
26dc63553e
update redis addon to use pipeline+http api
2021-12-15 17:54:50 -08:00
Girish Ramakrishnan
e7f94b6748
Update base image to 3.1.0
2021-12-14 20:47:41 -08:00
Girish Ramakrishnan
fcdc53f7bd
add flag to enable/disable mailbox sharing
2021-12-08 11:05:13 -08:00
Girish Ramakrishnan
3dcbeb11b8
mail: use dashboardDomain and not mailDomain
...
also remove unused mail_domain
2021-11-25 15:04:30 -08:00
Girish Ramakrishnan
b6ee1fb662
mail: add non-tls ports for recvmail addon
2021-11-16 17:21:34 -08:00
Girish Ramakrishnan
8bfb3d6b6d
mail: save message-id in eventlog
2021-11-02 01:42:07 -07:00
Girish Ramakrishnan
f803754e08
mail: fix eventlog search
2021-11-02 01:00:28 -07:00
Girish Ramakrishnan
09cfce79fb
mail: fix direction field in eventlog of deferred mails
2021-11-02 00:48:01 -07:00
Girish Ramakrishnan
5ece159fba
sftp: fix crash when creating directory
2021-10-27 13:17:23 -07:00
Girish Ramakrishnan
22e4d956fb
mail: add option to force from address for relays
2021-10-16 22:30:28 -07:00
Girish Ramakrishnan
273a833935
mail: chmod the key file, so we can make the config dir readonly
2021-10-16 16:36:53 -07:00
Girish Ramakrishnan
3988d0d05f
mail: add duplication detection for lists
2021-10-15 21:52:16 -07:00
Girish Ramakrishnan
c775ec9b9c
mail: auto-expunge junk folder (60 days)
2021-10-14 11:26:57 -07:00
Girish Ramakrishnan
98c6d99cad
mail: enable vacation-seconds sieve extension
2021-10-14 09:31:57 -07:00
Girish Ramakrishnan
13197a47a9
mail: allow configuring dnsbl zones
2021-10-13 14:53:20 -07:00
Girish Ramakrishnan
419b58b300
mail: implement event log spam filter
2021-10-12 18:42:38 -07:00
Girish Ramakrishnan
272c77e49d
mail: better eventlog schema
2021-10-12 17:11:55 -07:00
Girish Ramakrishnan
afdac02ab8
mail: fix the folder structure
2021-10-12 12:30:19 -07:00
Girish Ramakrishnan
004a264993
mail: dkim key update
2021-10-11 22:56:34 -07:00
Girish Ramakrishnan
4fda00e56c
mail: update locations
2021-10-11 18:14:22 -07:00
Girish Ramakrishnan
b9a11f9c31
filemanager: fix crash in extract
2021-10-11 15:34:11 -07:00
Girish Ramakrishnan
f17e3b3a62
mail: export pop3 port
2021-10-07 22:06:26 -07:00
Girish Ramakrishnan
92c712ea75
ldap: use service ids when auth'ing email
2021-10-07 21:32:22 -07:00
Girish Ramakrishnan
aed84a6ac9
Fix postgresql import issue with long table names
2021-10-01 16:24:38 -07:00
Girish Ramakrishnan
8255623874
mail: mount mail data directory into sftp container
...
fixes #794
2021-09-26 13:47:45 -07:00
Girish Ramakrishnan
d4edd771b5
sftp: prefix the id with app- and volume-
...
this helps the backend identify the type of mount
2021-09-25 23:35:44 -07:00
Girish Ramakrishnan
949b2e2530
postgresql: bump shm size and disable parallel queries
...
https://forum.cloudron.io/topic/5604/nextcloud-take-very-long-time-to-respond/5
2021-09-03 08:02:06 -07:00
Johannes Zellner
5b10cb63f4
sftp: update addon to fix symlink deletion
2021-08-11 09:32:30 +02:00
Girish Ramakrishnan
882a7fce80
redis: suppress password warning
2021-07-24 08:51:00 -07:00