Open matzeeable opened 3 years ago
I ran a quick test with similar repository/filenames and it seems to work fine. $ push -r 'plugins/real-media-library/backend' -ft PO
is push an alias? asking since it does show mojito command. Have you tried to clean/rebuild, was there any changed introduced?
Did you also test with your latest docker image? When I run docker-compose up
with the following compose file, I get the above error:
version: "3"
networks:
mojito: {}
volumes:
mojito_mysql_data:
services:
mojito_owlsrv_de_mysql:
image: mysql:5.7
volumes:
- mojito_mysql_data:/var/lib/mysql:rw
restart: always
networks:
- mojito
environment:
MYSQL_ROOT_PASSWORD: ${MOJITO_DB_ROOT_PASS}
MYSQL_DATABASE: mojito
MYSQL_USER: ${MOJITO_DB_USER}
MYSQL_PASSWORD: ${MOJITO_DB_PASS}
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
mojito_owlsrv_de_webapp:
depends_on: [mojito_owlsrv_de_mysql]
image: aurambaj/mojito-webapp:latest
networks:
- mojito
restart: always
ports:
- "10000:80"
environment:
MOJITO_DB_HOST: mojito_owlsrv_de_mysql
MOJITO_DB_PORT: 3306
MOJITO_DB_NAME: mojito
MOJITO_DB_USER: ${MOJITO_DB_USER}
MOJITO_DB_PASS: ${MOJITO_DB_PASS}
Regards, Matthew 😊
@matzeeable that docker compose file is not part of this project so I don't know exactly where it is coming from.
aurambaj/mojito-webapp
is just my sandbox and I recently updated the with something that is not backward compatible with previous version hence the potential issue. But it shouldn't be used since it is my sandbox.
What are you trying to do exactly? Do already have an install that you are trying to fix? Or are you trying to get started from scratch?
Docker files I wrote can be found here: https://github.com/box/mojito/tree/master/docker
Hey @aurambaj !
This docker-compose.yml
I wrote myself, but the essential part of that is the used image aurambaj/mojito-webapp
.
What are you trying to do exactly?
Within our organization we do containerize all used services, even the external one if they provide an image. This speeds up things, we can provide isolated environments and it is more maintainable. What I want to do is very basic: use the mojito webapp within a docker container.
Do already have an install that you are trying to fix? Or are you trying to get started from scratch?
Yeah, I am starting from scratch with mojito (if you remember, I also requested #685).
Docker files I wrote can be found here
Yeah, that's the image I am using within my docker-compose
.
Thanks for your awesome and quick support! :-)
Hey!
When I try to push the following file
real-media-library.pot
I get the following error on CLI side:When I check the webapp log, I get the following error:
I do not know what exactly could be wrong here, as the extension is
.pot
and should be resolved by https://github.com/box/mojito/blob/7155ac2a51c83cf90450737a589c961aef846c30/common/src/main/java/com/box/l10n/mojito/okapi/asset/AssetPathToFilterConfigMapper.java#L46I am using the latest docker image from https://github.com/box/mojito/tree/master/docker for both CLI and webapp.
Regards, Matthew 😊