Uwe Smidt
Forum Replies Created
-
Stuck again!
Please advise if the Web Server for Omnis Headless Server can also be Nginx, or more precisely if Nginx will accept the mod_omnis.so as a module?
I want to use Nginx as a Proxy for various URL, so I’d prefer to also use it the web server instead of Apache.
Any clues are very welcome!
-
This is where I’m currently stuck – getting the Omnis headless server to run:
Any ideas where I can get better log info on what is the reason for systemctl not being able to start homnis?
Dec 05 12:18:22 debian-1cpu-1gb-de-fra1 systemd[1]: Configuration file /etc/systemd/system/homnis.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
Dec 05 12:14:27 debian-1cpu-1gb-de-fra1 systemd[1]: homnis.service: Failed with result ‘exit-code’.
Dec 05 12:14:27 debian-1cpu-1gb-de-fra1 systemd[1]: homnis.service: Main process exited, code=exited, status=229/SELINUX_CONTEXT
Dec 05 12:14:27 debian-1cpu-1gb-de-fra1 systemd[1]: Started homnis.service – Omnis Headless App Server Service.
-
I still don’t know where – these kind of – errors are logged, but at least I know the error itself – it was an educated guess that my serial was not accepted (I’ve got 11.0 licensed, but downloaded the current installer of Omnis Headless Server – which is 11.1). homnis is now up & running!
-
-
Dear Mats,
I’m up and and a bit running on UpCloud !I took the 3€ Developer Starter kit (1 Core, 1GB, 10GB), and went for the free 3 day trial.
But there is the first ‘disappointment’: This free 3 day trial is so limited (here: automatic firewall that can’t be edited during free trial, blocking Webmin port, and also the postgres port).So I’ll have to make a first payment of 10€ (not much, but my idea of a free trial is different – it is more a matter of trust & credibilty than of 10 € being ‘a major investment), and there still is a 30 day money back guarantee…
I’ll keep you posted!
-
Thanks a lot for your helpful replies!
I use Ionos for my Domains and Email, and have made good experiences with them so far.Before Mats reply, I would have gone for a VPS with them (https://www.ionos.de/server/vps; VPS Linux 2Cores, 2GB, 80GB @ 3 €/Month), because their other, more interesting product ‘Cloud Server’ (https://www.ionos.de/cloud/cloud-server) is currently ‘paused’ as I was told by their support.
But now, I’ll look into UpCloud, first – sounds very interesting!
If you have further hints, please feel free to let me know!
And I will keep you posted on my progress!
Best regards
Uwe
-
I find the campaigns of spammers an absolute nuisance – here and in the resulting mails in my mail box – therefor I would really appreciate a more general approach…
Maybe it would make sense to manually release the first post of a new member? So ANYONE can read, but only checked members can post?
Best regards
Uwe -
I did – so I do have a credit of 25 € – but still they wanted to see cash.
I’ve paid the 10 € in the meantime, now all is working fine – I just need my time to get into handling a Linux server 😱!
I’m a bit surprised that Webmin does not offewr support/a GUI for Nginx – just for Apache.
Can you recommend a GUI for NGINX? I’m not so much the CLI gui …
Regards
Uwe
-
Uwe Smidt
MemberOctober 23, 2024 at 10:09 am in reply to: jsProgressBar Control – not really controlling progress…Hi Andreas,
Thanx again!
I’m afraid I was misled by the online documentation (https://www.omnis.net/developers/resources/onlinedocs/WebDev/02jsremoteforms.html#push-connections) where I had the impression that a REST service is prerequisite to using push messages.But the is another online source that gives a great introduction to using push messages:
Your ‘Full Course: Develop a Mobile App for a restaurant in 5 lessons’ at https://www.omnis.net/developers/academy/online/
So I’ll have another look into that – thank you!
-
Uwe Smidt
MemberOctober 23, 2024 at 9:25 am in reply to: jsProgressBar Control – not really controlling progress…Hi Andreas,
Thank you for your thoughts!As for Omnis being busy: Yes, that’s the logical explanation, but I thought that ‘alwaysenabled…’ was helping that. And it is not too busy to react to hitting the escape key, but too busy to register a click on the Stop button…
And it was not to busy to register a click on the Stop button while I still had the progress bars in jsMains – so maybe the modal property of invoking jsProgressDialog with
Do $cinst.$clientcommand('subformdialogshow',row('jsProgressDialog',lcParams,'Work in Progress',475,340))
makes it even more busy…
And yes, putting lengthy processes in the background so the user can continue working is the way to go! And yet, being able to control the lengthy process with the progress bars is just what they are meant for, aren’t they 😉
However, installing an Omnis REST server to manage push messages seems to me like using a sledgehammer to crack a nut…
But anyway, this ‘little’ problem brought me closer to understanding the asynchronicity of client methods and server methods, and what it implies…
Thank you for your help along the way!
Best regards
Uwe -
Uwe Smidt
MemberOctober 23, 2024 at 9:04 am in reply to: jsProgressBar Control – not really controlling progress…You’re welcome!
I’m afraid I don’t even know how to convert it to 10.22.But your general solution might be to get an up-to-date community edition to look into libs newer than your Omnis version.
Best regards
Uwe
-
Uwe Smidt
MemberOctober 22, 2024 at 8:42 pm in reply to: jsProgressBar Control – not really controlling progress…The progress bar library – please feel free to use, comment or improve
-
Uwe Smidt
MemberOctober 22, 2024 at 8:40 pm in reply to: jsProgressBar Control – not really controlling progress…Allright….,
I got it all set up, but what a pain to do such a seemingly simple task…The process is started and runs in jsMain, while the progress is being shown in the jsProgressDialog evoked by clientcommand…subformdialogshow.
I can interrupt the process by hitting escape (via the form’s cancelkeyobject), but not by clicking the Stop-button, despite being the alwaysenabledobject. Is that a bug, or a feature?
I enclose the lib in the next post, for anyone interested in my struggle… 😉
-
Uwe Smidt
MemberOctober 19, 2024 at 10:15 am in reply to: jsProgressBar Control – not really controlling progress…Dear Andreas,
dear $all,I tried to adapt it to my needs, but what I want does not work since it is in a nested loop:
method ‘$doAPIStuff’:
For Loop1 from 1 to 10
Do API call 'A'
For Loop2 from 1 to 100
Do API call 'B' ## using input from API call ''A'
For Loop3 from 1 to 1000
Do API call 'C' ## using input from API call ''B'
Do Method $updateProgressWindow
End For ##Loop3
End For ##Loop2
End For ##Loop1As I understand now, this Loop structure is unsuitable to update a client window. Is that right? Do I REALLY need to break up my ‘wonderful’ loop structure and let the iteration be handled by daisy-chaining ‘$doAPIStuff’ with ‘$updateProgressWindow’ and ‘$updateProgressWindow_return’, i.e. calling ‘$doAPIStuff’ not just once, but (here) 1 million times?
Another question in this regard: I would like to start the action (the API calls) from a main form (rfMain) with, say with a button ‘doApiStuff’, but show the progress in a modal window ‘jsProgress’ called by subformdialogshow. While I can reference rfMain from rfProgress by $cinst.$container, how do I reference the subformdialog from rfMain?
Thanks in advance
Uwe
-
Uwe Smidt
MemberOctober 9, 2024 at 3:05 pm in reply to: jsProgressBar Control – not really controlling progress…Hi Andreas,
Yeah, I think this is hinting in the right direction.I’ll try to adapt it in my setting, and come back to this forum with my approach or new questions ;-)!
Thank you!
Uwe -
Hi Obonye,
it was ‘only’ 2.200 files, but I up- and downloaded them to/from Omnis with the FileOps-Object (https://www.omnis.net/developers/resources/onlinedocs/FunctionRef/Functions_A-Z/fileops-readfile.html#fileops.readfile):
Maybe this helps!
Regards
Uwe