tum-gis / sddi-ckan-k8s Goto Github PK
View Code? Open in Web Editor NEWHelm chart for Smart District Data Infrastructure enabled CKAN
License: Apache License 2.0
Helm chart for Smart District Data Infrastructure enabled CKAN
License: Apache License 2.0
The current pre-defined resource settings can avoid rolling out the chart, e.g in a test environment with low resources.
Resource requirements and limits should be set by users dependent on the hardware they use and not be pre-definded in this chart.
The current default value for certManager.issuerName is set to 'letsencrypt-staging'. Staging certs are not valid in common browsers. Please change to 'letsencrypt-production'
No response
No response
CKAN DataPusher is not a good choice for pushing data into CKAN datastore.
One core reason to replace DataPusher is that it is complicated to setup and extremly slow. Some more arguments are listed here.
I identified two candidates to replace DataPusher.
see title
No response
No response
See title.
Release a beta/alpha version
none
all
all
No response
No response
No response
No response
Is there an easy way to replace the background/header image? And, if not, it would be great to have one.
No response
No response
The new options for styling need to mapped in the Helm chart.
my smtp configuration doesnt work. I have used the smtp configuration of ionos (See details in the configuraiton setting). I tried the "forgotten password?" but the email wasnt send (see below the log of the ckan's pod)
ckan:
smtp:
# -- [CKAN SMTP settings](https://docs.ckan.org/en/latest/maintaining/configuration.html#email-settings)
server: "smtp.ionos.de:587" or "smtp.ionos.de:465"
# -- [CKAN SMTP settings](https://docs.ckan.org/en/latest/maintaining/configuration.html#email-settings)
user: "******"
# -- [CKAN SMTP settings](https://docs.ckan.org/en/latest/maintaining/configuration.html#email-settings)
password: "**********"
# -- [CKAN SMTP settings](https://docs.ckan.org/en/latest/maintaining/configuration.html#email-settings)
mailFrom: "admin@********"
# -- [CKAN SMTP settings](https://docs.ckan.org/en/latest/maintaining/configuration.html#email-settings)
tls: "enable"
# -- [CKAN SMTP settings](https://docs.ckan.org/en/latest/maintaining/configuration.html#email-settings)
startTls: "true"
# -- [CKAN SMTP settings](https://docs.ckan.org/en/latest/maintaining/configuration.html#email-settings)
replyTo: "None"
values
No response
**LOGS CKAN**
[ckan.views.user] Password reset requested for user "********@******.de"
2023-06-09 15:42:30,607 INFO [ckan.views.user] Emailing reset link to user: nsoule
2023-06-09 15:42:30,705 ERROR [ckan.config.middleware.flask_app] Server not connected
Traceback (most recent call last):
File "/srv/app/src/ckan/ckan/lib/mailer.py", line 96, in _mail_recipient
smtp_connection.starttls()
File "/usr/lib/python3.8/smtplib.py", line 788, in starttls
self.sock = context.wrap_socket(self.sock,
File "/usr/lib/python3.8/site-packages/gevent/_ssl3.py", line 114, in wrap_socket
return self.sslsocket_class(
File "/usr/lib/python3.8/site-packages/gevent/_ssl3.py", line 312, in __init__
raise x
File "/usr/lib/python3.8/site-packages/gevent/_ssl3.py", line 308, in __init__
self.do_handshake()
File "/usr/lib/python3.8/site-packages/gevent/_ssl3.py", line 666, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_ILLEGAL_PARAMETER] sslv3 alert illegal parameter (_ssl.c:1131)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3.8/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3.8/site-packages/flask/views.py", line 89, in view
return self.dispatch_request(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/flask/views.py", line 163, in dispatch_request
return meth(*args, **kwargs)
File "/srv/app/src/ckan/ckan/config/middleware/../../views/user.py", line 662, in post
mailer.send_reset_link(user_obj)
File "/srv/app/src/ckan/ckan/lib/mailer.py", line 188, in send_reset_link
mail_user(user, subject, body)
File "/srv/app/src/ckan/ckan/lib/mailer.py", line 133, in mail_user
mail_recipient(recipient.display_name, recipient.email, subject,
File "/srv/app/src/ckan/ckan/lib/mailer.py", line 124, in mail_recipient
return _mail_recipient(recipient_name, recipient_email,
File "/srv/app/src/ckan/ckan/lib/mailer.py", line 116, in _mail_recipient
smtp_connection.quit()
File "/usr/lib/python3.8/smtplib.py", line 1002, in quit
res = self.docmd("quit")
File "/usr/lib/python3.8/smtplib.py", line 429, in docmd
self.putcmd(cmd, args)
File "/usr/lib/python3.8/smtplib.py", line 376, in putcmd
self.send(f'{s}{CRLF}')
File "/usr/lib/python3.8/smtplib.py", line 361, in send
raise SMTPServerDisconnected('Server not connected')
No response
On deployment (heml upgrade
or heml install
), this warning is shown sometimes:
W0807 09:43:50.396997 2602 warnings.go:70] path /(.*) cannot be used with pathType Prefix
It needs to be investigated what this is about and why it's not shown everytime, just every now and then.
ckan-instance-this-happened:
- catalog.savenow.de
sddi-ckan-1.1.5 and older versions too
ghcr.io/tum-gis/ckan-sddi:1.1.3
version.BuildInfo{Version:"v3.12.2", GitCommit:"1e210a2c8cc5117d1055bfaa5d40f51bbc2e345e", GitTreeState:"clean", GoVersion:"go1.20.5"}
kubectl version --output=yaml
clientVersion:
buildDate: "2023-05-17T14:20:07Z"
compiler: gc
gitCommit: 7f6f68fdabc4df88cfea2dcf9a19b2b830f1e647
gitTreeState: clean
gitVersion: v1.27.2
goVersion: go1.20.4
major: "1"
minor: "27"
platform: linux/amd64
kustomizeVersion: v5.0.1
serverVersion:
buildDate: "2023-06-19T16:12:25Z"
compiler: gc
gitCommit: 8cfcba0b15c343a8dc48567a74c29ec4844e0b9e
gitTreeState: clean
gitVersion: v1.25.11
goVersion: go1.19.10
major: "1"
minor: "25"
platform: linux/amd64
No response
No response
No response
The default favicon path points to a location without an image. This should be adapted to the default path in tum-gis/ckan-docker: /base/image/favicon.ico
Check the logs for an instance with default settings.
ckan:
favicon: "/webassets/favicon.ico"
sddi-ckan-1.0.2
docker pull ghcr.io/tum-gis/ckan-sddi:1.0.1
No response
No response
No response
No response
The ckan.smtp.tls
option is not used and should be removed.
CKAN and its tool chain require databases that need specific initialization steps (mainly roles and permissions) for security reasons. Several init steps require Postgres superuser rights. At the same time, unprivileged database users need to be set for CKAN and other services (e.g. Datapusher), that are supposed to use the databases. The different databases may potentially live in separte instances (e.g. ckan-db on one server, ckan datastore on a different server).
Currently, those step can only be performed when the postgis sub-chart is used.
External databases (e.g. a managed database from a cloud provider) cannot be initialized successfully, because the native CKAN init fail, because it does not have sufficient rights.
In the future, the database initialization should be moved to a (maybe multiple?) separate Helm chart/subchart, the ckan-database-initializer
.
This inititalizer should be capable to initialize one or many databases for CKAN and it's services:
Improve docs on SMTP settings according to the findings in #4.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.