diff --git a/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py b/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py index 7f8c6640..7a88df3e 100644 --- a/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py +++ b/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py @@ -251,12 +251,7 @@ class LamNI(TomoQueueMixin, LamNIAlignmentMixin, LamNIOpticsMixin, LamniGuiTools self._webpage_gen = LamniWebpageGenerator( bec_client=client, output_dir="~/data/raw/webpage/", - upload_url=[ - "https://v1p0zyg2w9n2k9c1.myfritz.net/upload.php", - # TEMP: mirroring to the test server while it's evaluated -- - # drop this line once omny-test.psi.ch is confirmed or the trial ends. - "https://omny-test.psi.ch/upload.php", - ], + upload_url="https://omny.psi.ch/upload.php", local_port=8080, ) self._webpage_gen.start() diff --git a/csaxs_bec/bec_ipython_client/plugins/OMNY_shared/AI_docs/WEBPAGE_UPLOAD_MECHANISM.md b/csaxs_bec/bec_ipython_client/plugins/OMNY_shared/AI_docs/WEBPAGE_UPLOAD_MECHANISM.md index 268a6cc0..6cef21de 100644 --- a/csaxs_bec/bec_ipython_client/plugins/OMNY_shared/AI_docs/WEBPAGE_UPLOAD_MECHANISM.md +++ b/csaxs_bec/bec_ipython_client/plugins/OMNY_shared/AI_docs/WEBPAGE_UPLOAD_MECHANISM.md @@ -74,10 +74,10 @@ are derived only from the *first/primary* URL, even when `upload_url` is a list govern access control for the production page and have no meaning for a secondary/test mirror. -As of 2026-07, both `flomni.py` and `lamni.py` pass a two-element list -- production -(`https://v1p0zyg2w9n2k9c1.myfritz.net/upload.php`) plus a temporary evaluation target -(`https://omny-test.psi.ch/upload.php`) -- marked with a `# TEMP` comment at the call -site. Drop the second entry once the trial ends. +As of 2026-08, both `flomni.py` and `lamni.py` pass a single URL, +`https://omny.psi.ch/upload.php` -- the earlier two-element list (production +`v1p0zyg2w9n2k9c1.myfritz.net` plus the `omny-test.psi.ch` evaluation mirror) has been +retired; omny.psi.ch is now the only webpage-mirror target. ## Call-site map (`webpage_generator_base.py`) @@ -96,15 +96,20 @@ site. Drop the second entry once the trial ends. `force=True`) suppresses **all** uploads regardless of how many URLs are configured -- it's a binary "upload at all vs. not" switch, orthogonal to how many mirrors exist. -## Known issue: `.svg` upload failing on `omny-test.psi.ch` +## Known issues on `omny.psi.ch` (as of 2026-08) -Both the live `HttpUploader._UPLOAD_SUFFIXES` and the in-repo reference -`OMNY_shared/server_side/webserver/upload.php` already allow `.svg`. Manual testing -against `omny-test.psi.ch` showed `.json`/`.html` status updates succeeding but `.svg` -(the EPS synoptic image, generated by `OMNY_shared/eps/eps_synoptic_svg.py`) failing. -Since nothing in this repo's client or reference server code excludes `.svg`, the most -likely cause is whatever `upload.php`/WAF is actually deployed on the test box differing -from the reference copy here (a stricter filename regex, or a WAF rule flagging SVG's -potential for embedded `