Okay! I added a small separate function into the code, that helped me.
ekevu123
Posts
-
Ollama as Cloudron app - health check? -
File takes a long time to load@nebulon I can't share the original document publicly, unfortunately, but the problem has disappeared after having raised the PHP Memory Limit in Nextcloud from 512 MB to 2 GB.
-
Building custom app - authentication problemI am building my first custom app in Docker in Python and I want to host it on Cloudron.
Currently, the repository is set up on docker.com. I have set up the repository in the cloudron settings using an access token. I have a CloudronManifest.json, a Dockerfile and the requirements file (since it's python), but I am stuck when runningcloudron build
as I consistently run into this error message:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc9470e4750>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/asgiref/
The same comes with any other package that happens to be the first in the requirements file.
I am the owner of the Docker repository.
Does anyone know what I can do about it?
-
Some emails going to spamI second this, all our delivery problems went away when we started using Postmark. And it costs us 10 USD per month.
-
Move snap to Cloudron@jdaviescoates This is an idea I have quickly considered as well but one reason why I want to move this installation to Cloudron so desperately is that I want to have less work with it, not more
We will probably need to live with the fact that we will need to re-share all information again and simply do the move using one of the manual ways (e.g. user migration plugin). That will create chaos for a day or two, but at least then we will have a more stable installation.
-
Copy-pasting from editor disabled@nebulon Yes, I know, but it doesn't show any update. Perhaps because I am running Cloudron 7.3 in the instance with the newer Nextcloud version and 7.2 in the other, where the update is not shown?
-
Encryption error since upgrade to 25.0.2Two things worked for me:
- occ encryption:decrypt-all (on one of the server) which safely decrypted all files and disabled encryption in a couple of minutes
- on another server, this command didn't decrypt all files but ran without errors, so I needed to come up with another way. So, I put all files and folders into one folder on my laptop, used occ encryption:disable to disable encryption and then created a copy on my laptop, waited for the copy of the folder to upload to the server, then I would delete the original (and rename the copy). Took some time, but it worked.
-
Mail Relay - to Bridge Cloudron Servers@subven I agree with that, we are using Postmark, it's $10 per month only for a normal volume and really easy to set up. The deliverability has increased compared to other solutions like a mail package with even an established company in the market.
-
Set up custom API as Cloudron app?Is it a good idea to set up a custom python API as a custom Cloudron app? My research showed it was possible, but I couldn't find any direct reference of someone doing it. So, I was wondering if I am missing something?
The API is super small, but it needs constant availability and no lag longer than usual latency, that's basically it.
-
Cloudron update didn't updateI had an odd case just now with a custom python app.
cloudron update
ran successfully, but it did not update my application, the cold stayed the previous one. Reinstalling the app solved the problem.
Here is what I did:- I used docker build with the no-cache option
- I was definitely in the right folder
- I pushed it to docker.io and confirmed in the dashboard that the push happened
- I then used cloudron update to update the application
The command ran successfully, but i could identify a typo in the code which I fixed locally but it wasn't fixed on the server. But it was after uninstalling and re-installing the app.
Any ideas why that might be the case?
-
Clone app easily?@girish Okay, that is super easy, thank you very much!
-
Support for docker compose@girish Is it a different product, though? Technically, probably, but it would be so lovely to run docker compose apps next to dockerfile apps as custom apps on Cloudron within a container, even if I have to make custom changes to the docker compose setting to make it work.
Or, alternatively, you guys bring a docker compose manager on the market (yes, that would be a different product, but totally in-brand). A competitor to portainer (too corporate) and coolify (bad UI).
I would be willing to pay a premium, just in case you ever decided to do that.
@fbartels Of course I wouldn't want to run them next to Cloudron, only as apps within Cloudron.
-
Logs from custom appI am running a custom python app on Cloudron and I am happy with that setup. However, I need better access to logs of what is happening and I am not really sure how to achieve that as I cannot save log files permanently inside the app. If I download the full logs from Cloudron, they only seem to give me access to the last 2 days or so.
Is there a good solution that would let me monitor what the app does, perhaps even a few days back?I am open to everything, from improvised and easy-to-implement solutions up to third-party tools with GUI.
-
Cloudron update vs. installation - custom appI am running a custom applicaton.
I have just had a case where cloudron update did not update all the code, but a re-installation worked.
Can we perhaps clarify what cloudron update does (and does not)? This would help understanding when to use what.
My issue was specifically related to API keys in an .env file, which I needed to update, but it didn't work out.
-
What's coming in 7.3Is 7.3.1 stable enough to use now? I have received the update notification in my Cloudron instances, but it still contains a warning that it is unstable, so I am hesitant on my two production instances.
-
Change block storage size@nebulon Thank you, there was an error with Vultr, that's why it didn't work, but their support fixed it.
-
Ollama as Cloudron app - health check?I am trying to install Ollama as a cloudron app to run language models via REST API self-hosted. But I don't know what I should pick as the health check URL. How do I figure this out?
-
LiveView Elixir doesn't work in Cloudron but does locallyI have this function in my elixir code:
def handle_info(%{document_id: document_id}, socket) do {:noreply, push_patch(socket, to: ~p"/fact_check/result/?document_id=#{document_id}")} end
What it does: The user uploads a file using fact_check and gets forwarded to a waiting screen on /result. The document_id comes from Firestore and it should get appended to the link. Later, when the result has been processed, the page refreshes and shows the result.
This works on localhost and in a local docker container, but it doesn't work on Cloudron. There, the link doesn't get the ID, it stays the same, so the page would never update.
I have checked database connection and environment variables, everything works.
Any ideas what might be causing the issue? This must be a difference between a local docker container and cloudron.
-
Backup hangs@nebulon It worked when I set both to maximum, many thanks!
-
File takes a long time to load@nebulon It is happening also with similarly big files (as in many pages, not big file size). I don't think it's necessarily a Cloudron issue, but it would still be great to understand if there are ways how this could be resolved.