Según este post
Hello,
I’m trying to setup a Discourse instance (private) on a Digitalocean droplet and I’m having some problems with the uploaded images, because they are not showing in the posts.
The weird thing is that right after insert the image, when it finished to upload you can see for a second. After that, the link breaks and you can’t see it anymore. I have tried to rebuild the HTML and it didn’t work, the same thing happens: you can see the image for a second after rebuilding only. An example:
[i…
y las sugerencias sobre cómo solucionar el problema, ¿puede alguien confirmar que estos son los pasos correctos a seguir después de actualizar a la versión beta actual?
rake posts:rebake
rake posts:missing_uploads
rake uploads:recover_from_tombstone
¿Existe algún buen lugar donde se documenten estas tareas de rake?
Tengo imágenes rotas en este post antiguo:
Y estoy intentando configurar mi teclado Kinesis clásico.
Estoy en la versión 2.7.0.beta1.
Gracias de antemano por cualquier consejo, y gracias al equipo de Discourse por un producto tan excelente.
1 me gusta
Desafortunadamente, nuestro historial aquí no ha sido bueno. También tengo algunas imágenes rotas permanentemente en mi propio Discourse alojado, que también es de alrededor de 2014 o así
No estoy seguro de si @sam o @gerhard tienen algún consejo, pero no esperes demasiado. Lo siento
2 Me gusta
Benjamin_D
(Benjamin Decotte)
27 Diciembre, 2020 23:29
3
Diría que tu caso es similar a los descritos aquí:
I chose to move our site to a new host, and restored from backup after setting up a new DO droplet w 2gb ram and doing a stock install.
I didn’t see any errors, and didn’t think to check all the images before shutting down the host.
As it turns out, images were missing and no amount of rebaking would help. (Initially posted here & here )
The damage was more easily visible when I ran this command, to remove all empty folders:
find /var/discourse/shared/standalone/uploads/default -type d -empty…
2 Me gusta
gerhard
(Gerhard Schlager)
29 Diciembre, 2020 19:07
4
Probablemente no tengas suerte a menos que aún tengas un archivo de respaldo muy antiguo que contenga los archivos faltantes.
1 me gusta
Mis disculpas por reabrir este tema, pero después de probar los métodos anteriores, todavía no puedo recuperar las imágenes.
Quizás un ojo más experimentado en estas cosas detecte algo.
ejemplo de publicación 1 y ejemplo de publicación 2
Sin embargo, aquí hay una antigua donde las imágenes funcionan.