Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
Website website #website HTML/CSS #help
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
Website website #website HTML/CSS #help
Acerca de este foro
  1. Website Builder
  2. Foro

Moving database to other server - some website images do not display

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
imagemoveurl
2 Respuestas
4163 Vistas
Avatar
Raf Frederickx

Hi

I want to move a database with a website to another server and run the website from that machine.  I'm developing the webiste on the old server, but at a given point, I want to transfer it to the real server and domain and continue there.  So, I've taken a backup of the old one and restored it on the new one.

If I then connect to the new machine via the browser, it turns out that certain images (like background images in caroussels and some others, mostly coming from Unsplash) are not displaying.  Some others are displaying fine and are also coming from Unsplash (e.g. cards with a picture). 

When looking at the source view, it displays the url of the original server (external ip address).  If that old machine is still running, the images on the new one are coming through, since the source is still available; as soon as I turn the old machine off, the images on the new machine are gone and also the new server seems to respond much more slowly.  It's looking for these pics and can't find them.

Now, how can I solve this?  After doing a backup on the old machine and then a restore on the new one, 

Is there a simple way to replace all the <old url> references to the <new url> reference?  Or can I avoid that, when uploading images (from Unsplash), it uses the full url instead of simply putting /web/image/…?  Strange that some image sources are showing the full path and some aren't.  The former are creating the issue in my case.

Any ideas, anyone?

Thanks.

0
Avatar
Descartar
Vasil Stoev

Hi,

If you can open the back up in a text editor you can search and replace the IP address.

Avatar
Vasil Stoev
Mejor respuesta

Hi Raf,

As I can see the encryption is on the filens store locally but not the address. You should have 2 files and one folder in to the backup zip. The dump.sql file contain the database data. If you search for a filename there you can see where is stored. If you have external source for the image the address should be there.

File from url:



Locally stored file:



* I couldn't add second answer :( in which to add pictures. Can't add pictures to comments :( So I convert answer to comment which deleted your comment  :( -

Thanks, Vasil.

Opened the zip file and everything returned was sort of encrypted.

Looking for numbers (ip addresses) will work, but what about looking for an actual domain?

Because of the encryption, you won't be able to find something like \azure.com.

Any other ideas?

Thanks.

1
Avatar
Descartar
Raf Frederickx
Autor

Thanks, again, Vasil.

So, I could basically edit the dump.sql and replace the old address into the new one and save; then restore that zip? Haven't tried this, but I'll take your word for it.

Vasil Stoev

Yes that should work. Just in case create a copy of your original backup so you can restore if anything goes wrong.

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
TypeError: Cannot read properties of undefined (reading 'url')
image url
Avatar
Avatar
Avatar
2
jul 22
12929
Contact image via url Resuelto
image url odoo11.0
Avatar
Avatar
Avatar
2
sept 21
8944
IMPORT URL IMAGE CSV TO IMAGE ARTICLE IN ODOO Resuelto
import image url
Avatar
Avatar
Avatar
3
jul 20
11296
Add an image URL on Media center and save to server file system.
image filestore url media
Avatar
0
jun 23
6074
How to get the url of a fields.Binary with attachment=True Resuelto
attachment image url binaryfield
Avatar
Avatar
Avatar
3
may 23
25787
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now