mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-26 05:26:00 +03:00
[GH-ISSUE #1532] 🐛 [Bug] Sample YAML/CSV bulk import file links are incorrect and sample files don't seem to exist #676
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#676
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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@Shadow243 commented on GitHub (Jun 19, 2025):
Big thanks to @knightsg for reporting this issue and helping improve the project!
@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.
@knightsg commented on GitHub (Jun 23, 2025):
Thanks, I'll take a look sometime in the next day or two and confirm.
@Baraka24 commented on GitHub (Jul 11, 2025):
@knightsg have you tested? If it works, please close this.
@marclaporte commented on GitHub (Aug 20, 2025):
@knightsg We are stabilizing master, from which we will release version 2.5.0.
@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 😬
@knightsg commented on GitHub (Sep 2, 2025):
I updated my docker image to the latest daily image (
sha256:b482cd2583cb30db885aa5f0cd4f798d515eaf4b1a40a348102b23819efd307fcreated at2025-09-02T00:59:19+0000) but unfortunately I'm still seeing the same issue here. The link to download the bulk account YAML is stillhttps://<mail-server-host>/usr/local/cypht/assets/data/server_accounts_sample.yamland the downloaded file content is still just the Cypht server settings page.@Shadow243 commented on GitHub (Sep 2, 2025):
Thanks, I will test using the daily image too and fix if needed.
@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
@Shadow243 commented on GitHub (Sep 2, 2025):
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
@IrAlfred commented on GitHub (Nov 12, 2025):
@Shadow243
What's the next step here ?
@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.