Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start dotCMS using docker-compose with a mounted license.zip file #23226

Closed
yolabingo opened this issue Oct 25, 2022 · 1 comment
Closed

Comments

@yolabingo
Copy link
Contributor

yolabingo commented Oct 25, 2022

Possibly related to #13435

Describe the bug

When mounting a license.zip in docker-compose.yml:
- /home/docker/dotcms/license.zip:/data/shared/assets/license.zip

Dotcms exits with the error
com.dotmarketing.exception.DotRuntimeException: /data/shared/assets/license.zip: Device or resource busy
See attached error.txt for stack trace.

Conditions to reproduce

This is reproducible on >= 22.08, does not occur on 22.06 and under.

If we specify a CUSTOM_STARTER_URL (even if the url is an empty string), this error does not occur.

Update: I did see this error once on 21.06.11 while trying to import previously exported site data via CUSTOM_STARTER_URL

Setting either of these has no effect:

        DOT_ARCHIVE_IMPORTED_LICENSE_PACKS: 'false'
        ARCHIVE_IMPORTED_LICENSE_PACKS: 'false'

This issue may not occur on all machines. Cloud can provide access to an ec2 vps for testing if you cannot reproduce this locally.

licenseerror.zip contains the docker-compose.yml file, you must provide a license.zip file
error.txt
licenseerror.zip

@yolabingo yolabingo changed the title Unable to start using docker-compose with a mounted license.zip file Unable to start dotCMS using docker-compose with a mounted license.zip file Oct 25, 2022
@stale
Copy link

stale bot commented Dec 27, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants