raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)

248 views
Skip to first unread message

Lightning Bit

unread,
Aug 30, 2020, 11:56:59 PM8/30/20
to Django users
Hello all, 

Does anyone know how to add a manifest entry for a staticfile? I have used:

> python manage.py collectstatic --noinput 

From this I got the  "staticfiles" folder. However, when I perform a logging on the website, this 505 error appears: 

> raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)


I tried deleting the "staticfiles"  folder and restarting the "collectstatic " process but that does not seem to work either. Any resolutions?

RANGA BHARATH JINKA

unread,
Aug 31, 2020, 1:11:32 AM8/31/20
to django...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b9738987-daa9-403f-b1f6-ec27e076cff8n%40googlegroups.com.


--
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

King Niko

unread,
Aug 31, 2020, 9:39:01 AM8/31/20
to django...@googlegroups.com
Thank you Ranga, the site is up and running now. Unfortunately, none of the Static CSS, Images, nor JS are appearing and I get this error for each individual CSS, Image, or JS file: 

 "GET /static/images/Facebook.png HTTP/1.1" 404 179 "https://samplesite.herokuapp.com/home/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/- (KHTML, like Gecko) Chrome/- Safari/-"

Somehow the system does not seem to register the images, js, and css folders within my static folder. Would the images, js, and css folders have to be put into the root directory? Or would a path in the settings need to be altered to allow the static folder to actually register with the system? 

King Niko

unread,
Aug 31, 2020, 9:52:56 AM8/31/20
to django...@googlegroups.com
Okay, got it to work. My STATICFILES_DIRS was not set. 

Now I am encountering the issue of the admin portal not working. I am unable to access pictures from the DJANGO ADMIN portal nor can I access any of the products that I have created.

When I look at items that are linked to the DJANGO ADMIN portal, they are blank as though they do not exist. I looked at the logging and when I click "Cart" I receive a 500 error stating that the TemplateDoesNotExist.

Is there any way to connect the DJANGO ADMIN portal to the published site? 

King Niko

unread,
Aug 31, 2020, 10:17:26 AM8/31/20
to django...@googlegroups.com
In clearer terms, I logged into the ADMIN PORTAL and saw that the items existed. There was also an image for each item in the ADMIN PORTAL. 

Strangely, when returning to the website, I am unable to actually "see" the pictures - they are blank. This was not the case back in the testing environment.

Why would this occur only upon publishing the website? Also, when I click cart after adding one of the non-image showing items, I receive an error 500 stating that the cart.html and only the cart.html TemplateDoesNotExist. It has the same settings as every other html page, what makes this single page unique to becoming an error 500? 
Reply all
Reply to author
Forward
0 new messages