I confirm my assumption, I added a fake tcpPorts to the manifest and it's working as expected, no console error and the udp ports state is correctly set on the checkbox.
Guillaume
Posts
-
Bug Report - UI inconsistensy on custom Udp Port -
Bug Report - UI inconsistensy on custom Udp PortJust see another clue in the javascript console when opening the Location settgins page of the app :
TypeError: Cannot read properties of undefined (reading 'HS_MY_CUSTOM_PORT')Seems related to the first line of this code :
for (const p in props.app.portBindings) if (tcpPorts.value[p]) {
tcpPorts.value[p].value = props.app.portBindings[p].hostPort;
tcpPorts.value[p].enabled = true;
} else if (udpPorts.value[p]) {
udpPorts.value[p].value = props.app.portBindings[p].hostPort;
udpPorts.value[p].enabled = true;
} else console.error(Portbinding ${p} not known in manifest!);tcpPorts seems undefined.
Maybe this bug appear when there is only udpPorts in the manifest, I have no tcp ports declared on the manifest.
-
Bug Report - UI inconsistensy on custom Udp PortSorry for my late reply, I didn't had time to work on the subject again.
The VM is with cloudron 9.2.0 Ubuntu 24.04.4 LTS Linux 6.8.0-117-genericIn the documentation there is no infos about "enabledByDefault" property for updPorts https://docs.cloudron.io/packaging/manifest/#udpports
In the manifest I declared the udp port like this, is it ok ?"udpPorts": {
"HS_MY_CUSTOM_PORT": {
"title": "My custom port",
"description": "My custom port description.",
"containerPort": 13478,
"defaultValue": 13478,
"enabledByDefault": true
}
}, -
Bug Report - UI inconsistensy on custom Udp PortI test on an empty cloudron vm, only this app.
I install with cloudron cli yes.cloudron install
The UI never reflect the UDP port state, the checkbox is always uncheked if you refresh the page.
The app is not public.
Maybe I can reproduce this behavior with an example. -
Bug Report - UI inconsistensy on custom Udp PortHello,
I'm packaging an app and I think I found a little bug on the Location UI UDP Port.
I'm testing on Cloudron 9.2Observed behavior :
I'm exposing a port custom UDP that is activated by default but the UI checkbox is not checked.
The actual port is activated as expected on the container and exposed by cloudron.
In addition if you enable the checkbox in this state and apply the configuration, it actually behave as expected, but if you refresh the page the checkbox is unchecked again.Expected behavior :
The checkbox should reflect the actual state of the port.Hope it helps to fix this.
-
ActiveSync@nebulon Many thanks for this !
It seems to work pretty well, take my subscription Cloudron !
-
ActiveSync@nebulon sorry for the late reply.
To test ActiveSync you can try to connect with the Exchange connector available on all native mail client available on desktop (Windows/MacOS) and mobile OS (Android/iOS).
On the first configuration step the client always try to autoconfigure the server hostname but if it fail you can then enter your server hostname.The endpoint for activesync should be always on this path from what I understand /Microsoft-Server-ActiveSync
You have to not forget the reverse proxy configuration, an exemple is available on the readme of the repo.## !!! ActiveSync provided by Z-Push !!! ## #location ^~ /Microsoft-Server-ActiveSync { # access_log /var/log/nginx/activesync.log; # error_log /var/log/nginx/activesync-error.log; # # proxy_connect_timeout 75; # proxy_send_timeout 3600; # proxy_read_timeout 3600; # proxy_buffers 64 256k; # # proxy_set_header Host $host; # proxy_set_header X-Real-IP $remote_addr; # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # proxy_pass http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync; # proxy_redirect http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync /; #}I'll be happy to help to test some image if you manage to compile activesync.
-
ActiveSyncHi,
@girish I re post here instead of the issue tracker, I think it's the good thread.Having activesync working in Sogo would be the last feature I need to completely migrate to Cloudron.
From what I read on the issue tracker the main problem is having the right version of libwbxml.
I've made some research on project that have working container with activesync and I found this one :
https://github.com/croessner/sogo/blob/master/Dockerfile
He fetched libwbxml sources then compile them before compiling Sogo ActiveSync.I'm not familiar with the base cloudron image, and missing some time to try myself, do you think someone of your staff can try this solution ?
Thanks to your team for the amazing work on Cloudron.