Dultus
Explore posts from serversTTwenty
β’Created by Dultus on 9/12/2024 in #βοΈ±help
Can't host Twenty - twenty-db-1 is unhealthy
Hey, I've been following this guide here via Option 2.
https://twenty.com/developers/section/self-hosting/docker-compose
I use Portainer to host it.
In the end I run into the following error:
Pull complete server Pulled worker Pulled Network twenty_default Creating Network twenty_default Created Container twenty-change-vol-ownership-1 Creating Container twenty-db-1 Creating Container twenty-change-vol-ownership-1 Created Container twenty-db-1 Created Container twenty-server-1 Creating Container twenty-server-1 Created Container twenty-worker-1 Creating Container twenty-worker-1 Created Container twenty-change-vol-ownership-1 Starting Container twenty-db-1 Starting Container twenty-change-vol-ownership-1 Started Container twenty-db-1 Started Container twenty-db-1 Waiting Container twenty-change-vol-ownership-1 Waiting Container twenty-change-vol-ownership-1 Exited Container twenty-db-1 Error dependency failed to start: container twenty-db-1 is unhealthy
It's the same compose and env file as in the example and changed the strings as asked.
57 replies
HHomarr
β’Created by Dultus on 9/12/2024 in #π¬γ»get-help
Homarr can't connect to other local (docker hosted) servers. Dash. is not working either.
Hey folks, I've got the issue that I can't receive any information regards my other containers.
Dash. and Homarr are also in the same network.
The pings work on external websites (for example google.com)
The orange pings just say "waiting".
I assume that's the same reason why Homarr can't show any information from dash.
Any ideas there? The services are up and running.
71 replies
Connecting to localhost API Server IP-address
I build this service:
Now, if there's
http://localhost:5255
in this file, my application works.
If I put in my local IP-Address http://192.168.178.22:5255
it doesn't work.
HOWEVER;
I tried to run the application on another PC. There it's the other way around. Localhost doesn't work but their own local IP address does.
Any ideas?3 replies
How do I test a running API?
Hey, I'm using NUnit to test my application.
Now, my application project consists of two parts: The application itself and an API server.
I'm running a HttpClient.GetAsync command on the application using my localhost URL for the API.
var response = client.GetAsync("http://localhost:5255/api/product/sort="+ (int)sort +"&filter="+ (int)filter).Result;
I want to test this method or rather the API calls.
How do I do that? AFAIK I can't test when the application is running which I have to to get my API running?
I hope someone can help me. Thank you very much! π85 replies
β The best way to create custom types?
Hey, what's the best way to implement a custom type?
E.g. I want an Id and instead of having it like this:
I want it like that:
So I don't calculate with the ID for example because it's an ID, not some random number.
15 replies
β Best way to wait for a certain time?
Imagine I have a program running on a server and I want to have it do a certain operation at 9am, what's the best way in C# to do so?
I'd like to just have an event that triggers at this time. Is there a performance friendly way?
I'd probably use a timer with an interval I calculate until it's 9am?
Thanks!
5 replies
β Generalise Attributes?
Is there a way to generalise Attributes?
I'd like to create a library in which I can just pass in what Enum to watch out for.
So I'd like to replace the EPartnership/ECategory enum with any enum passed into the attribute.
What would be the smartest way to get around this?
11 replies
β How to I use my domain for my ASP.NET REST?
Hi, question basically says it all.
I don't have current application but I'm curious. I do have a domain on a webspace. So I'd host my application on a different Root Server.
I am able to create Subdomains - how would I make my REST Application available from that subdomain?
2 replies
β Can't use ToastContentBuilder.Show();
Hey, so I've created a WPF project in .NET 7.0 and wanted to use the Microsoft.Toolkit.Uwp.Notifications package with the ToastContentBuilder.
I can't use the Show method for some reason. Documentation says that I should be on version 7.0 (using the newest one 7.1.3 (a downgrade didn't help either)), .NET 6 oder later and at least on net6.0-windows10.0.17763.0 or greater.
Again, a downgrade didn't help here either.
Someone got an idea?
5 replies