[GH-ISSUE #1532] 🐛 [Bug] Sample YAML/CSV bulk import file links are incorrect and sample files don't seem to exist #676

Closed
opened 2026-02-25 21:35:39 +03:00 by kerem · 12 comments
Owner

Originally created by @knightsg on GitHub (May 31, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1532

🐛 Bug

I downloaded the sample YAML bulk account import file from my Cypht installation but the file it downloaded is actually a block of HTML content with what appeared to be unicode characters embedded. I attempted to open it in multiple web browsers but it won't display the HTML and just triggers the browser's file download feature. I tried the CSV sample as well and got the same thing. However I added it to a gist which formatted it correctly and found that it was just the content of the Cypht server settings page.

On further investigation I realised that the link for both downloads is like https://<mail-server-host>/usr/local/cypht/assets/data/server_accounts_sample.yaml. I'm running cypht from Docker so I checked in the container but I couldn't find this file. Obviously the linked URL is incorrect but I thought if I could find the file I could try modifying the URL to the correct path.

Version & Environment

Rev: daily (3e5864dea5f8)
OS: Ubuntu 24.04.2 LTS/docker-ce 28.1.1-1~ubuntu.24.04~noble

Originally created by @knightsg on GitHub (May 31, 2025). Original GitHub issue: https://github.com/cypht-org/cypht/issues/1532 ## 🐛 Bug I downloaded the sample YAML bulk account import file from my Cypht installation but the file it downloaded is actually a block of HTML content with what appeared to be unicode characters embedded. I attempted to open it in multiple web browsers but it won't display the HTML and just triggers the browser's file download feature. I tried the CSV sample as well and got the same thing. However I added it to a gist which formatted it correctly and found that it was just the content of the Cypht server settings page. On further investigation I realised that the link for both downloads is like `https://<mail-server-host>/usr/local/cypht/assets/data/server_accounts_sample.yaml`. I'm running cypht from Docker so I checked in the container but I couldn't find this file. Obviously the linked URL is incorrect but I thought if I could find the file I could try modifying the URL to the correct path. ### Version & Environment Rev: `daily (3e5864dea5f8)` OS: `Ubuntu 24.04.2 LTS/docker-ce 28.1.1-1~ubuntu.24.04~noble`
kerem 2026-02-25 21:35:39 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Shadow243 commented on GitHub (Jun 19, 2025):

Big thanks to @knightsg for reporting this issue and helping improve the project!

<!-- gh-comment-id:2988006535 --> @Shadow243 commented on GitHub (Jun 19, 2025): Big thanks to @knightsg for reporting this issue and helping improve the project!
Author
Owner

@Shadow243 commented on GitHub (Jun 23, 2025):

@knightsg the error has been fixed. You can confirm: it will be available in the daily image starting with the next daily release.

<!-- gh-comment-id:2995656372 --> @Shadow243 commented on GitHub (Jun 23, 2025): @knightsg the error has been fixed. You can confirm: it will be available in the daily image starting with the next daily release.
Author
Owner

@knightsg commented on GitHub (Jun 23, 2025):

Thanks, I'll take a look sometime in the next day or two and confirm.

<!-- gh-comment-id:2997428899 --> @knightsg commented on GitHub (Jun 23, 2025): Thanks, I'll take a look sometime in the next day or two and confirm.
Author
Owner

@Baraka24 commented on GitHub (Jul 11, 2025):

@knightsg have you tested? If it works, please close this.

<!-- gh-comment-id:3061184670 --> @Baraka24 commented on GitHub (Jul 11, 2025): @knightsg have you tested? If it works, please close this.
Author
Owner

@marclaporte commented on GitHub (Aug 20, 2025):

@knightsg We are stabilizing master, from which we will release version 2.5.0.

<!-- gh-comment-id:3206173966 --> @marclaporte commented on GitHub (Aug 20, 2025): @knightsg We are stabilizing master, from which we will release version 2.5.0.
Author
Owner

@knightsg commented on GitHub (Aug 21, 2025):

Apologies, life got in the way. I'll do my best to verify by the end of this week 😬

<!-- gh-comment-id:3211546584 --> @knightsg commented on GitHub (Aug 21, 2025): Apologies, life got in the way. I'll do my best to verify by the end of this week 😬
Author
Owner

@knightsg commented on GitHub (Sep 2, 2025):

I updated my docker image to the latest daily image (sha256:b482cd2583cb30db885aa5f0cd4f798d515eaf4b1a40a348102b23819efd307f created at 2025-09-02T00:59:19+0000) but unfortunately I'm still seeing the same issue here. The link to download the bulk account YAML is still https://<mail-server-host>/usr/local/cypht/assets/data/server_accounts_sample.yaml and the downloaded file content is still just the Cypht server settings page.

<!-- gh-comment-id:3246347955 --> @knightsg commented on GitHub (Sep 2, 2025): I updated my docker image to the latest daily image (`sha256:b482cd2583cb30db885aa5f0cd4f798d515eaf4b1a40a348102b23819efd307f` created at `2025-09-02T00:59:19+0000`) but unfortunately I'm still seeing the same issue here. The link to download the bulk account YAML is still `https://<mail-server-host>/usr/local/cypht/assets/data/server_accounts_sample.yaml` and the downloaded file content is still just the Cypht server settings page.
Author
Owner

@Shadow243 commented on GitHub (Sep 2, 2025):

I updated my docker image to the latest daily image (sha256:b482cd2583cb30db885aa5f0cd4f798d515eaf4b1a40a348102b23819efd307f created at 2025-09-02T00:59:19+0000) but unfortunately I'm still seeing the same issue here. The link to download the bulk account YAML is still https://<mail-server-host>/usr/local/cypht/assets/data/server_accounts_sample.yaml and the downloaded file content is still just the Cypht server settings page.

Thanks, I will test using the daily image too and fix if needed.

<!-- gh-comment-id:3246364401 --> @Shadow243 commented on GitHub (Sep 2, 2025): > I updated my docker image to the latest daily image (`sha256:b482cd2583cb30db885aa5f0cd4f798d515eaf4b1a40a348102b23819efd307f` created at `2025-09-02T00:59:19+0000`) but unfortunately I'm still seeing the same issue here. The link to download the bulk account YAML is still `https://<mail-server-host>/usr/local/cypht/assets/data/server_accounts_sample.yaml` and the downloaded file content is still just the Cypht server settings page. Thanks, I will test using the daily image too and fix if needed.
Author
Owner

@knightsg commented on GitHub (Sep 2, 2025):

Thanks @Shadow243 - here's a screenshot showing the link address at the bottom in Chrome: https://ibb.co/ynznXQcN

<!-- gh-comment-id:3246381149 --> @knightsg commented on GitHub (Sep 2, 2025): Thanks @Shadow243 - here's a screenshot showing the link address at the bottom in Chrome: https://ibb.co/ynznXQcN
Author
Owner

@Shadow243 commented on GitHub (Sep 2, 2025):

Thanks @Shadow243 - here's a screenshot showing the link address at the bottom in Chrome: https://ibb.co/ynznXQcN

Thanks @knightsg, I think I've identified the issue. The links currently point to http://localhost:8000/modules/local_contacts/assets/data/contact_sample.csv but should point to http://localhost:8000/assets/data/contact_sample.csv

<!-- gh-comment-id:3246405183 --> @Shadow243 commented on GitHub (Sep 2, 2025): > Thanks [@Shadow243](https://github.com/Shadow243) - here's a screenshot showing the link address at the bottom in Chrome: https://ibb.co/ynznXQcN Thanks @knightsg, I think I've identified the issue. The links currently point to http://localhost:8000/modules/local_contacts/assets/data/contact_sample.csv but should point to http://localhost:8000/assets/data/contact_sample.csv
Author
Owner

@IrAlfred commented on GitHub (Nov 12, 2025):

Thanks @Shadow243 - here's a screenshot showing the link address at the bottom in Chrome: https://ibb.co/ynznXQcN

Thanks @knightsg, I think I've identified the issue. The links currently point to http://localhost:8000/modules/local_contacts/assets/data/contact_sample.csv but should point to http://localhost:8000/assets/data/contact_sample.csv

@Shadow243

What's the next step here ?

<!-- gh-comment-id:3521589630 --> @IrAlfred commented on GitHub (Nov 12, 2025): > Thanks [@Shadow243](https://github.com/Shadow243) - here's a screenshot showing the link address at the bottom in Chrome: https://ibb.co/ynznXQcN > > Thanks [@knightsg](https://github.com/knightsg), I think I've identified the issue. The links currently point to http://localhost:8000/modules/local_contacts/assets/data/contact_sample.csv but should point to http://localhost:8000/assets/data/contact_sample.csv @Shadow243 What's the next step here ?
Author
Owner

@IrAlfred commented on GitHub (Nov 27, 2025):

Hello @knightsg,

A fix for this issue has been implemented.

Could you please retest using the latest daily image and confirm if it resolves the problem for you?

If you are still experiencing the error, please don't hesitate to reopen this issue. Your feedback is essential.

<!-- gh-comment-id:3584443815 --> @IrAlfred commented on GitHub (Nov 27, 2025): Hello @knightsg, A fix for this issue has been implemented. Could you please retest using the latest daily image and confirm if it resolves the problem for you? If you are still experiencing the error, please don't hesitate to reopen this issue. Your feedback is essential.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#676
No description provided.