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

Update path-too-long-exception.md #6569

Merged
merged 3 commits into from
Oct 22, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,18 @@ In order to fix this error, you will need to connect to the Live Environments pr


```sql
SELECT TOP (2000) [id]
,[path],
Len(path) As valueLength
SELECT TOP (2000) [id],
[path],
LEN(path) AS valueLength
FROM [dbo].[umbracoMediaVersion]
WHERE path IS NOT null
ORDER BY Len(path) DESC
WHERE LEN(path) > 80
AND path IS NOT NULL
ORDER BY LEN(path) DESC;
```
3. Identify the files with a path longer than 80 characters.
4. Find the files in the Media section in the Umbraco backoffice.
5. Remove the media files from the backoffice.
3. Find the files in the Media section in the Umbraco backoffice.
4. Remove the media files from the backoffice.
* Make sure to note down where the media item is being used in the content
6. Change the names of the media files giving them shorter names.
6. Change the names of the media files giving them a name less than 80 characters.
sofietoft marked this conversation as resolved.
Show resolved Hide resolved
7. Re-upload the renamed file to the Media section in the backoffice.

Once re-added in the backoffice, make sure to add the media back in the content where it was used.
Loading