What makes the images deletion from the media folder?

55 prikaza
Preskoči na prvu nepročitanu poruku

Ram

nepročitano,
23. ožu 2023. 23:05:4623. 03. 2023.
u django...@googlegroups.com
Hi,

We are seeing weird issue that images are deleted between deployments in our Dev. server and we are seeing this message in log files:

example:

WARNING 2023-03-10 07:03:16,927 - Not Found: /media/cl_1zf3am8.JPG

Could someone let me know what could be the issue?

Best regards,
~Ram 

David Nugent

nepročitano,
24. ožu 2023. 00:34:4424. 03. 2023.
u django...@googlegroups.com
Are you using Django in a docker container?

If so, any changes to the filesystem are ephemeral and disappear when the container is recycled.


Regards,
David


------ Original Message ------
From "Ram" <ram.mu...@gmail.com>
Date 3/24/2023 2:04:56 PM
Subject What makes the images deletion from the media folder?

--
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/CA%2BOi5F2mTfx%2B32XKjM__gkgp0i7vPKgWsGuGVGQsr%3DSX_U0MRg%40mail.gmail.com.

ram.mu...@gmail.com

nepročitano,
30. ožu 2023. 12:39:4130. 03. 2023.
u Django users
Hello David,

We are not using a docker container but our server is a dedicated cloud instance.

Best regards,
~Ram

Ryan Nowakowski

nepročitano,
1. tra 2023. 12:28:4101. 04. 2023.
u django...@googlegroups.com
Describe your deployment steps

Ram

nepročitano,
1. tra 2023. 23:13:3001. 04. 2023.
u django...@googlegroups.com
Hi Ryan,

Here is our development server configuration:

1. We use Digital Ocean droplet with a static IP
2. Using Jenkins automation repository will be pulled, deployed and run migrations

2.1. git pull
2.2. created virtual environment
2.3. pip install -r requirements.txt
2.4. python manage.py makemigrations
2.5. python manage.py migrate
2.6. python manage.py runserver 0.0.0.0:8000
2.7. deployment is successfully completed.

We are using the same steps all the time before in Jenkins automation and did not change anything in the above deployment steps, but we are not able to find any clue yet.

Best regards,
~Ram

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/5Zlj7Cq-nvg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/03F76AAD-3615-4D92-A04F-2DA347747EC6%40fattuba.com.

Tukwasi Ugwuanyi

nepročitano,
2. tra 2023. 10:26:5702. 04. 2023.
u django...@googlegroups.com
Good morning guys ,how can I write code to send email to a user to auth him when registing 

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/CA%2BOi5F0HO%3DdT87vGV6edgHP3cDo-uWndwGv0m9GQLrRaSk_4og%40mail.gmail.com.

David Nugent

nepročitano,
2. tra 2023. 21:38:2102. 04. 2023.
u django...@googlegroups.com
so where are the uploads stored? this looks like a “from scratch” deployment, and presumably there is a separate and persistent database, but is there a persistent store for uploads as well?
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/CA%2BOi5F0HO%3DdT87vGV6edgHP3cDo-uWndwGv0m9GQLrRaSk_4og%40mail.gmail.com.

Ryan Nowakowski

nepročitano,
3. tra 2023. 09:34:4903. 04. 2023.
u django...@googlegroups.com
Is your media folder checked into git?

Ryan Nowakowski

nepročitano,
3. tra 2023. 09:36:3603. 04. 2023.
u django...@googlegroups.com
Start a new thread instead of hijacking this one?
Odgovori svima
Odgovori autoru
Proslijedi
0 novih poruka