lerchmo
lerchmo
Explore posts from servers
RRailway
Created by lerchmo on 8/31/2023 in #✋|help
Upgrade to pro, how to "redeploy" postgres / redis to take advantage of the PRO infrastructure?
I am not using that much ram, I upgraded for performance etc
15 replies
RRailway
Created by lerchmo on 8/31/2023 in #✋|help
Upgrade to pro, how to "redeploy" postgres / redis to take advantage of the PRO infrastructure?
for redis and postgres?
15 replies
RRailway
Created by lerchmo on 8/31/2023 in #✋|help
Upgrade to pro, how to "redeploy" postgres / redis to take advantage of the PRO infrastructure?
How can I find out if I am on the 32g machines ?
15 replies
RRailway
Created by lerchmo on 8/31/2023 in #✋|help
Upgrade to pro, how to "redeploy" postgres / redis to take advantage of the PRO infrastructure?
great, any idea if we are talking hourly, daily, weekly?
15 replies
RRailway
Created by lerchmo on 8/31/2023 in #✋|help
Upgrade to pro, how to "redeploy" postgres / redis to take advantage of the PRO infrastructure?
3391d7a-21b8-49aa-bb61-958d8c5cd246
15 replies
RRailway
Created by lerchmo on 8/31/2023 in #✋|help
Upgrade to pro, how to "redeploy" postgres / redis to take advantage of the PRO infrastructure?
3391d7a-21b8-49aa-bb61-958d8c5cd246
15 replies
RRailway
Created by zara on 8/10/2023 in #✋|help
Connecting repo in service source
Is there a way to manually trigger a build of a github project? just a button to clone from main and build?
21 replies
RRailway
Created by lerchmo on 5/11/2023 in #✋|help
Server Error (500)
I got it working finally, some plugins were causing errors for whatever reason but I can live without them
18 replies
RRailway
Created by lerchmo on 5/11/2023 in #✋|help
Server Error (500)
I turned DEBUG=True back on to see if it will work on production
18 replies
RRailway
Created by lerchmo on 5/11/2023 in #✋|help
Server Error (500)
So I removed the plugin, now I have another silent error unrelated. frustrating experience might have nothing to do with your system but some kind of server error logs would be helpful
18 replies
RRailway
Created by lerchmo on 5/11/2023 in #✋|help
Server Error (500)
so the issue was related to a specific django plugin that worked locally... but silently failed on your server.
18 replies
RRailway
Created by lerchmo on 5/11/2023 in #✋|help
Server Error (500)
How do I debug this? your logs show my application is running and I don't see error logs? but the front end is returning a 500 error
18 replies
RRailway
Created by lerchmo on 5/11/2023 in #✋|help
Server Error (500)
This is my startup script: web: python manage.py migrate && python manage.py collectstatic --noinput && gunicorn backend.wsgi:application --bind "0.0.0.0:${PORT}"
18 replies
RRailway
Created by lerchmo on 5/11/2023 in #✋|help
Server Error (500)
[2023-05-11 16:06:06 +0000] [1] [INFO] Starting gunicorn 20.1.0 [2023-05-11 16:06:06 +0000] [1] [INFO] Listening at: http://0.0.0.0:8060 (1) [2023-05-11 16:06:06 +0000] [1] [INFO] Using worker: sync [2023-05-11 16:06:06 +0000] [11] [INFO] Booting worker with pid: 11 it is listening to the $PORT environmental variable
18 replies
RRailway
Created by lerchmo on 5/11/2023 in #✋|help
Server Error (500)
a3a7e1dd-9216-4c4b-8343-7a0a71894efd
18 replies
RRefine
Created by modern-teal on 12/17/2022 in #ask-any-question
Trying to use Mantine MultiSelect With One 2 Many Field
this solved it, select: (data) => { data.data.included = data.data.included.map((i: any) => typeof i === "object" ? i.id.toString() : i ); data.data.excluded = data.data.excluded.map((i: any) => typeof i === "object" ? i.id.toString() : i );
22 replies
RRefine
Created by stormy-gold on 12/17/2022 in #ask-any-question
Trying to use Mantine MultiSelect With One 2 Many Field
is there a way to modify the shape of the dataProvider data before it gets to the edit component?
22 replies
RRefine
Created by protestant-coral on 12/17/2022 in #ask-any-question
Trying to use Mantine MultiSelect With One 2 Many Field
hacky to say the least
22 replies
RRefine
Created by ambitious-aqua on 12/17/2022 in #ask-any-question
Trying to use Mantine MultiSelect With One 2 Many Field
const AudiencePick: React.FC<AudiencePickProps> = (props: AudiencePickProps) => { const { value, filterDataOnExactSearchMatch, onChange, data, ...rest } = props; //@ts-ignore const strData = data?.map((item) => ({ label: item.label, value: item.value + "" })); //@ts-ignore const strValue = value?.map((item) => { //@ts-ignore if (typeof item === "object") { //@ts-ignore return item.id + ""; } else { return item; } }); const newOnChange = (newVal: string[]) => { if (onChange) { console.log(newVal); onChange(newVal); } }; return <MultiSelect {...rest} data={strData} onChange={newOnChange} value={strValue} />; }; export default AudiencePick;
22 replies
RRefine
Created by fascinating-indigo on 12/17/2022 in #ask-any-question
Trying to use Mantine MultiSelect With One 2 Many Field
const fixedFinish = () => { return onFinish({ //@ts-ignore included: included.map((i) => ({ id: i })), //@ts-ignore excluded: excluded.map((i) => ({ id: i })), ...rest, }); };
22 replies