Jump to content

Search the Community

Showing results for tags 'docker'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Marketplace
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 16 results

  1. Hi, I'm using Prestashop with Docker for local development. My setup: - Docker for mac : latest version available - Prestashop : 1.7.6.4 - All requirements are setup thanks to the Prestashop official requirements tool Pages take 10 to 30 seconds to load even if the cache is enable Any ideas? That's really uncomfortable to develop new features..
  2. Ciao a tutti, Ho aperto questa discussione per avere un supporto in merito all’installazione di Prestashop su Docker Compose. Il mio obiettivo è creare una cartella /prestashop con un’installazione ed una configurazione base della piattaforma di e-commerce che sia trasportabile su qualunque server e su qualunque nome a dominio. Il mio obiettivo è risparmiare tempo sia per l’installazione che per la configurazione base del programma. In pratica vorrei poter caricare /prestashop sul server reale, eseguire l’upload delle tabelle sul database MySQL, cambiare le credenziali di accesso al db editando il file di configurazione di Prestashop ed avere sul mio nome a dominio una versione di questo e-commerce pronto all’uso che richieda solo piccoli settaggi quali l’inserimento dei prodotti e dei dati di fatturazione dell’azienda. Per risolvere il problema del nome a dominio che cambia da sito a sito uso un proxy così quello che vi chiedo è più semplice di quello che pensate perché vorrei solo sapere come installare Prestashop su http://localhost:6000 e collegare il programma ad un DBMS disponibile ad un host locale con nome mysql. Tutti i file dell'ecommerce devono venire salvati in un volume condiviso tra host e container. Per eseguire i backup pensavo di eseguire con periodicità il download di /prestashop e delle tabelle del DB da PhpMyAdmin accessibile su http://localhost:9000. I servizi MySQL e PhpMyAdmin sono già configurati ed ospitano un altro CMS le cui tabelle hanno prefisso wp_ ma che posso cambiare, mi serve solo la configurazione di Prestashop da inserire nel file .yaml ed eventualmente il Dockerfile se oltre al download dell'immagine si richiedono alcuni settaggi aggiuntivi. Sul Docker Hub trovo una tonnellata di immagini e non so quale dovrei scegliere. Tutte le porte e i nomi che trovate in questa discussione possono tranquillamente essere cambiate. Sul server ed in locale ho lo stesso OS (Ubuntu 22.04 LTS) e la stessa versione di Docker (l'ultima). Su questo forum posso ottenere un supporto per questo tipo di installazione? Grazie
  3. Hi! I've started my journey with Prestashop 1.7.8.5 recently. Working on folders and files seems easy to understand but there is one problem I need help with. Me and my team will be working together on one project in the future. We've choose Docker as platform for developing. I thought that copying whole directory ('html' folder) and putting it on different instance of docker would just work without any trouble. I've faced few errors that I had to fix after migration but there is one type of errors that really makes everything harder. Permissions. When everything on front office works and all the modifications in code I made are visible there is still problem with random functions on backoffice side. Can't add product photos because of the errors such as : "The file could not be uploaded. No temporary folder was configured in php.ini, or the configured folder does not exist." "No route found for "GET /sell/catalog/products/image/upload/57": Method Not Allowed (Allow: POST)" Brand/manufacturer img: "The file could not be uploaded." Format is not a problem. I've tried with photos which were uploaded on first instance of Docker Prestashop. I don't know how many functions from BO have problems but I'd like to learn how to prevent such a behaviour. I've tried: After migration I've deleted all 'cache' folders. For test I've set all the files and directories with 777 permission and the error still occurs. If you have any tips, please let me know
  4. Hello, i'm trying to install Prestashop on a custom docker container, but every time i try, i get a 500 error during addon module install, my docker image looks like this : FROM php:7.1.33-apache RUN docker-php-ext-install mysqli pdo_mysql RUN apt-get update \ && apt-get install -y libzip-dev \ && apt-get install -y zlib1g-dev \ && rm -rf /var/lib/apt/lists/* \ && docker-php-ext-install zip \ && docker-php-ext-install opcache RUN apt-get update && apt-get install -y libpng-dev RUN apt-get install -y \ libwebp-dev \ libjpeg62-turbo-dev \ libpng-dev libxpm-dev \ libfreetype6-dev RUN docker-php-ext-configure gd \ --with-gd \ --with-webp-dir \ --with-jpeg-dir \ --with-png-dir \ --with-zlib-dir \ --with-xpm-dir \ --with-freetype-dir \ --enable-gd-native-ttf RUN apt-get -y update \ && apt-get install -y libicu-dev \ && docker-php-ext-configure intl \ && docker-php-ext-install intl RUN docker-php-ext-install gd RUN sed -i 's/www-data:x:33:33/www-data:x:1000:1000/' /etc/passwd RUN a2enmod rewrite COPY ./php-custom.ini /usr/local/etc/php/conf.d/docker-php-memlimit.ini I can't change my php version for some reasons. I'm running docker on windows with wsl2 integration. I've tried to change the permissions of install dir and index to 755, i've also tried the same installation on wamp, and get the same error 500. (the screenshot bellow). I don't think that's a database issue because the connection work (on docker or wamp) and the database is created and filled. the access log of the errors are bellow : I've tried with this archive https://github.com/PrestaShop/PrestaShop/releases/download/1.7.3.0/prestashop_1.7.3.0.zip . (I also tried with the source code from github but i get a composer error that says that composer.json doesn't match json regex) Thanks for reading me, and sorry for my bad english, i hope you understand !
  5. Hello, I take the liberty of contacting you in the hope that you can help me correct this problem. I am currently setting up a Prestashop site in version 1.6.1. I have just added a rather important module concerning my products. When installing the module, the loading time is quite long, maybe my network, I don't know ... whatever. When going to the page of my products, this error appears : Fatal error: Allowed memory size of 6392119296 bytes exhausted (tried to allocate 130968 bytes) in /var/www/html/classes/helper/HelperTreeCategories.php on line 92 I work with a Docker environment (+ docker-compose). I tried to mount as much as possible my memory_limit variable (in the php.ini file) present in my config. But nothing does nothing there, the problem persists... Would you have a track to explore...? Do not hesitate to ask me questions if any information could be of use to you. Thank you all in advance for your help!
  6. I'm trying to configure MailDev on my PS website which uses Docker. I know i need to add sth like this to my docker-compose.yml in "services" section: maildev : image : maildev/maildev ports : - 25 What else should I do?
  7. Hi! I've recently been tinkering with installing Prestashop with Docker. After doing one successful run at getting the databse satup etc i decided to rebuild my docker-compose file and now I'm stuck with an error related to the database. All of this started appearing after the message "PrestaShop Core already installed.." being sent upon "docker-compose up". How would I go about installing the PrestaShop Core from scratch upon doing a "docker-compose up" since that is what I think is messing this up as I've already got it working until I deceded to take down the docker-compose? Couldnt find anything relating to "PrestaShop Core already installed.." after some quick googleing so I thought I'd go here. Sorry if my question is dumb. Any leads about how I would go about getting it work like before are appreaciated.
  8. Hi fellow prestashopers! I managed to upgrade Prestashop from version 1.6.2.4 to 1.7.6.7. But somehow cant get emails to work. Mails arent beeing send after order also trying to use "Forgot password" also doesnt work. Im running prestashop locally in docker environment, with following specs: Server: Linux #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020 x86_64 Apache/2.4.38 (Debian) PHP version: 7.2.31 MySQL version: 5.6.49 MySQL engine: InnoDB MySQL driver: DbPDO Mail method: You are using the PHP mail() function. Required parameters: OK Optional parameters: OK When i try to "Resend email" from Orders to sample user, i get confirmation message "The message was successfully sent to the customer." , though no mail is received in my mail inbox. I have 2 languages installed, though only using 1, sl-SI, slovenian. When i try to test mail from "Advanced Parameters->Email" i get following error: Error: Please check your configuration I have debug mode turn on and i see following messages: Info. & Errors INFO 09:14:37 request Matched route "admin_emails_index". Hide context [▼ "route" => "admin_emails_index" "route_parameters" => [▶] "request_uri" => "http://localhost:8080/backoffice/index.php/configure/advanced/emails/?_token=2uhemksYt4c_zhv_KJR9vL4C6tEMNlWCheYLCOFQfW8" "method" => "GET" ] WARNING 09:14:37 translation Translation not found. Hide context [▼ "id" => "Theme configurator" "domain" => "messages" "locale" => "en-GB" ] WARNING 09:14:37 translation Translation not found. Hide context [▼ "id" => "Configure the main elements of your theme." "domain" => "messages" "locale" => "en-GB" ] WARNING 09:14:37 translation Translation not found. Hide context [▼ "id" => "Cron tasks manager" "domain" => "messages" "locale" => "en-GB" ] WARNING 09:14:37 translation Translation not found. Hide context [▼ "id" => "Manage all your automated web tasks from a single interface." "domain" => "messages" "locale" => "en-GB" ] WARNING 09:14:37 translation Translation not found. Hide context [▼ "id" => "Carts Guru" "domain" => "messages" "locale" => "en-GB" ] WARNING 09:14:37 translation Translation not found. Hide context [▼ "id" => "The module is not configured" "domain" => "messages" "locale" => "en-GB" ] Debug 09:14:37 doctrine SELECT name FROM ar_module WHERE active = 1 09:14:37 security Read existing security token from the session. [▼ "key" => "_security_main" "token_class" => "Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken" ] 09:14:37 security User was reloaded from a user provider. [▼ "provider" => "PrestaShopBundle\Security\Admin\EmployeeProvider" "username" => "*********@gmail.com" ] 09:14:37 doctrine SELECT t0.id AS id_1, t0.employee AS employee_2, t0.shop AS shop_3, t0.controller AS controller_4, t0.action AS action_5, t0.filter AS filter_6, t0.filter_id AS filter_id_7 FROM ar_admin_filter t0 WHERE t0.employee = ? AND t0.shop = ? AND t0.controller = ? AND t0.action = ? LIMIT 1 [▼ 7 1 "email" "index" ] 09:14:37 doctrine SELECT t0.id AS id_1, t0.employee AS employee_2, t0.shop AS shop_3, t0.controller AS controller_4, t0.action AS action_5, t0.filter AS filter_6, t0.filter_id AS filter_id_7 FROM ar_admin_filter t0 WHERE t0.employee = ? AND t0.shop = ? AND t0.controller = ? AND t0.action = ? LIMIT 1 [▼ 7 1 "email" "index" ] 09:14:37 doctrine SELECT m.*, l.name AS language FROM ar_mail m LEFT JOIN ar_lang l ON m.id_lang = l.id_lang ORDER BY id_mail desc LIMIT 50 OFFSET 0 09:14:37 doctrine SELECT COUNT(m.id_mail) FROM ar_mail m LEFT JOIN ar_lang l ON m.id_lang = l.id_lang 09:14:37 security Stored the security token in the session. [▼ "key" => "_security_main" ] I kinda have feeling, that there is something obvious and "ez" solution that im clearly missing. Any help, tips, to point me in the right direction would be highly appreciated!
  9. Bonjour, Je démarre les devs sur PS dans un environnement dockerisé. Je vais avoir besoin de réaliser mon propre thème, des modules et peut être de surcharger les comportements par defaut de PS (repertoire override). Je suis partie de l'image Docker `prestashop/prestashop:1.7` pour constituer mon Dockerfile qui est exploité par un docker-compose . (j'ai la BD qui est dans un docker-compose dédié) J'ai besoin de déployer l'image en environnement de dev ou recette par une mécanique de CI/CD pour pouvoir être tester par une équipe de recette. De là beaucoup de questions se posent: * Je suppose que je dois inclure tous mes modules/themes dans l'image docker. Mais est-ce possible de les activer en automatique sans passer par la console d'admin (depuis une commande du dockerfile) ? * Une fois en production, il est obligatoire d'exploiter les 'volumes' pour conserver les modifications faites depuis la console d'administration? Quels répertoires mappés alors ? * SI j'utilise un volume avec une image docker basée sur une version de prestashop, comment réaliser un upgrade de PS ? Depuis la console d'admin ou en upgradant la version de l'image docker ? Merci pour vos réponses
  10. Bonjour, J'ai mis en place un conteneur docker contenant prestashop et j'utilise traefik en reverse proxy. J'ai bien du https sauf que pour la creation de compte ou la mise dans le panier d'un article, le site fait un requete POST en http qui est bloque (donc erreur) puisque pas en https. Ou puis-je manuellement forcer le https pour les requetes POST de ce genre ? Sachant que dans le prestashop le ssl est disable car traefik envoie une requete http dans le conteneur et non du https. Il gère de l'autre cote le https. Cordialement, Lucas
  11. Hi! Successfully started PS 1.6.1.11 in a Docker container. Also started successfully MySql in its own container. Using MySql client to create a database and a user for PS. I started PS container with a link as suggested on https://hub.docker.com/r/mysql/mysql-server/ with this command: docker run -ti --name prestashop --link prestashop_db:mysql -p 8080:80 -d prestashop/prestashop:1.6.1.11 During PS setup, when I enter the details of the database I'm not able to have success with connection. Anyone having guidance on a working setup of the two Docker containers?! regards, /L
  12. Hello, I am reconsidering the development workflow of our prestashop store as well as the better management of all the aspects that impact with the store. For a while I have been looking for a way to try setting up memcache or / and vanish in order to find best optimazition techniques that can work with my setup. I was always afraid that things wouldnt work as expected on live website (as they didnt once) and a way to go back might not be that easy since the librarys would already been installed on server. Docker seems to provide a very good soltuion for this. I have been reading a lot about docker lately and the benefits that provides seems amazing. We can actually test anything and be sure that it will work exacly the same on live site. Still havent resolved how a few major things should be configured before start working on it, such as: - Do we include all the product images/attachments on the image? If so, this wouldnt make the image file size huge? - Is database saved & included in the docker? If so, lets say we install a new theme on the image we have from a week ago. We push this new version of the image with the new theme to live site, in such a case, wont database be as it was a week ago + with any changes the theme installation applied? What about the data that were created on live site within this time? If anyone is already using a docker for running prestashop, any workflow guidance would be more than welcome . Regards, C
  13. Hello, Im trying to setup prestashop with mysql database using docker-compose on CENTOS74 host. Im new both to prestashop and docker. My docker-compose.yml file is as follows: version: '2' services: mysql: container_name: SQL image: mysql:5.7 ports: - "3306:3306" volumes: - /path_to_backed_database/prestashop.sql:/docker-entrypoint-initdb.d/init.sql environment: MYSQL_DATABASE: prestashop MYSQL_ROOT_PASSWORD: admin restart: always apache: container_name: prestashop image: 'prestashop/prestashop:1.7.4.3' links: - mysql environment: DB_SERVER: mysql ports: - "80:80" volumes: - /path_to_my_prestashop_sources/prestashop:/var/www/html:rw,delegated restart: always So after containers get up, i get 500ed while connecting to server with the following output: Link to database cannot be established: SQLSTATE[HY000] [2002] Connection refused However when i try to log in to the container using "docker exec -it containerID /bin/bash" I can execute mysql commands with no problems. The database is there and has successfully imported data from /path_to_backed_database/prestashop.sql at boot. My prestashop sources are from a local server i was testing it recently. I thought maybe something is wrong with them so I tried to run containers without specifying volume for prestashop. It got me to the prestashop installation GUI and it cannot connect to database either (which again, while checking manually is fine in the container). At the setting up database screen after typing the credentials i get : Database Server is not found. Please verify the login, password and server fields (DbPDO) I honestly doubt that this is about wrong password because according to https://hub.docker.com/r/prestashop/prestashop/ my configuration seems fine (admin is the default password). Is there a difficulty in connecting between the containers? Is it about some php version mismatch? I have tried multiple solutions in the past 24h but cannot figure this out. Thank you for your help
  14. Ahoj, na mém PC Linux Mint bych chtěla mít lokální kopii originál (poměrně rozsáhlého s hodně moduly) živého eshopu pro testování uprav v dockeru. S dockerem teprve začínám. Používáte někdo na lokále pro vývoj presty docker. Myslím konkrétně verzi 1.6.1.x s xdebugem, něčím pro test mailů a také s SSL certifikátem. ? Eventuelně jaký postup doporučujete pokud např. potřebuji otestovat import produktů z csv? Kdyby se se mnou někdo chtěl podělit přímo o konfigurační soubory pro docker byla bych ráda. Jinak ale uvítám i odkazy na nějaké řešení.
  15. Hallo, I wanted to switch from Prestashop version 1.6.1.15 to 1.7.2.0. In version 1.6.1.15 there was no problem with the admin area. The Server is running in docker on port 8080:80. Trying fresh install 1.6.1.15, going to http://localhost:8080/admin, works. Trying fresh install 1.7.2.0, going to http://localhost:8080/admin, doesn't works. Redirecting to http://localhost/admin, remove port. Change Server in docker on port 80:80. Trying fresh install 1.7.2.0, going to http://localhost/admin, works. So in the version 1.7.2.0, the forwarding without the port is wrong. Best regards tao
  16. Hi, i moved my shop from windows development WAMP to unix Ubuntu 14.04 inside Docker ( www.docker.com) on cloud. After this I have problem with saving existing products. The save button is spinning and i can't do anything. It's not problem of META descr. length and also i hope it's not problem with rights. Configuration is: - cloud with ubuntu 14.04 and docker installed - docker image with ubuntu 14.04 with lamp - prestashop 1.6.1.2 ( originally production 1.5 upgraded to 1.6.1.2) - frontstore works ok ( i mean no prblems with images...) - debug mode ON I found out that when i comment lines with calling helpers in tabs initialization it works. file: controllers/admin/AdminProductsController.php line 3892 $attachment_uploader = new HelperUploader('attachment_file'); $attachment_uploader->setMultiple(false)->setUseAjax(true)->setUrl( Context::getContext()->link->getAdminLink('AdminProducts').'&ajax=1&id_product='.(int)$obj->id .'&action=AddAttachment')->setPostMaxSize((Configuration::get('PS_ATTACHMENT_MAXIMUM_SIZE') * 1024 * 1024)) ->setTemplate('attachment_ajax.tpl'); line 4255 $image_uploader = new HelperImageUploader('file'); $image_uploader->setMultiple(!(Tools::getUserBrowser() == 'Apple Safari' && Tools::getUserPlatform() == 'Windows')) ->setUseAjax(true)->setUrl( Context::getContext()->link->getAdminLink('AdminProducts').'&ajax=1&id_product='.(int)$obj->id .'&action=addProductImage'); This is as far as I get and I don't know what might be problem. On windows with WAMP everything is fine. My quess is AJAX problem. Please help!
×
×
  • Create New...