Comments (5)
Ive tried it yesterday and it worked but had some issues with the volumes and the cache of composer on restart. Solved this by first unpacking the files in the volume folder, start the container and then bash in the container and chmod the html folder to user www-data.
from docker-mautic.
But the API was not working (error 404) with the docker. I could get a access_token but when i started to use it to get information it gave me a 404 error.
Everywhere you read about cleaning the cache. But if you do it on a docker or on a volume the ownership wil change again. So your the script gives you "current offline" window.
How to fix the API on docker do the next steps (there are probably faster methods):
-
Turn on the api in the control panel
-
Create oauth2 credentials in the control panel
-
Do a api test call to the api using composer mautic/api-library, you probably can get the access_token but can't get any info from the api (eg Looks like I encountered an error (error #404))
baseUrl = https://mauticdomain.com
apiUrl = https://mauticdomain.com/api/ -
set memory_limit in php.ini to -1 (probably want to reset is to 256mb later on)
-
login to the docker: docker exec -it {dockerid} bash
-
clear the cache: php app/console cache:clear
-
set the user ownership to www-data again: chown -R www-data:www-data /var/www/html/
The mautic is still running and i can information from the api with the access_token.
from docker-mautic.
hi @felipeplets did you encounter a problem when running mautic docker? Are you using compose or are you running through the command line?
from docker-mautic.
@felipeplets It worked for me. I'm afraid you are unlikely to receive help unless you give details of the problem you encountered. Please see https://www.chiark.greenend.org.uk/~sgtatham/bugs.html
from docker-mautic.
Hello @aspiers, thank you for the link.
Regarding the error I've faced I remember to get no feedback and specific error messages on docker logs, it was just running but I could not access it on the published port, so I could not realize the error or how to reproduce it. I've then installed and used it locally for my tests.
from docker-mautic.
Related Issues (20)
- How to upgrade from v4 to v5 HOT 2
- Mautic 5.0.3 FPM docroot issue HOT 2
- cronjob mautic:import won't work properly if added in cron/mautic
- Table 'messenger_messages' already exists - example/basic HOT 6
- Mautic seems to reinstall intself after taking pod down
- Update 5.0.4 HOT 9
- Docker composer is in bin but not working HOT 1
- Building own image fails
- docker images for 4.4.12 are missing on hub.docker.com HOT 2
- Mautic not installed problem HOT 1
- Email editor it is not possible to upload images grapesjsbuilder.assetManager.noAssets HOT 1
- On-the-fly asset generation is broken HOT 3
- Amazon SES on Mautic5 (docker-mautic image) HOT 1
- Title: Installation Issue with Mautic 5 using Docker: mQuery Function Error HOT 1
- [Suggestion] Mautic 5 - Plugins Install
- Mautic_cron can't access database due to no env variables in cron jobs HOT 1
- mautic:5.1-fpm cannot be installed - AppTestKernel.php is not found. It is not there HOT 13
- View Report - Visits published Pages show ip address as 127.0.0.1
- Mautic recreates the local.php file every time the service or container is restarted. HOT 1
- Missing enviromental variables in run time HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-mautic.