Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: After importing a CSV resource:clean fails #96

Open
paavo opened this issue Oct 9, 2023 · 5 comments
Open

Bug: After importing a CSV resource:clean fails #96

paavo opened this issue Oct 9, 2023 · 5 comments
Assignees
Labels

Comments

@paavo
Copy link

paavo commented Oct 9, 2023

After importing a CSV file (urls_to_import.csv) with URLs in redirecthandler-ui i get an error when publishing resources (with resource:clean).

Error: Could not publish resource urls_to_import.csv with SHA1 hash xxx of collection persistent because there seems to be no corresponding data in the storage.

I guess the csv Files get deleted but not removed from persistentresource Tables @Sebobo?

resource:clean helps to fix the problem.

@paavo paavo closed this as completed Jul 31, 2024
@paavo paavo reopened this Jan 9, 2025
@Sebobo
Copy link
Member

Sebobo commented Jan 13, 2025

Do you get Could not delete csv file after importing redirects in your logs?

@Sebobo Sebobo added the bug label Jan 13, 2025
@Sebobo Sebobo self-assigned this Jan 13, 2025
@paavo
Copy link
Author

paavo commented Jan 13, 2025

I get the error when publishing ressources, after i imported a redirects file @Sebobo

@Sebobo
Copy link
Member

Sebobo commented Jan 13, 2025

Yes but do you get the mentioned error in your logs directly after you import the csv, meaning the current cleanup fails?

@paavo
Copy link
Author

paavo commented Jan 13, 2025

do you get the mentioned error in your logs directly after you import the csv, meaning the current cleanup fails

I don't think so @Sebobo
I only noticed the issue a few times when MagicWand failed publishing (after cloning remote to local dev environment)

@Sebobo
Copy link
Member

Sebobo commented Jan 14, 2025

@paavo I cannot reproduce this problem locally. The file is correctly removed after import.

Can you do another import with a small file that only contains one redirect and check the log output related to that import, if there is any warning.
Do you have any special storage, or the default filesystem one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants