-
Notifications
You must be signed in to change notification settings - Fork 498
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
Deinstallation of Redmine Plugin failed #426
Comments
I generally use docker-compose to run these commands. In this case, it would help because you're trying to run the redmine container without starting the database container. A similar command with docker-compose might be: which should start the depending containers as well.
Note: I don't know if you need to uninstall the plugin. If it failed during install I would have expected the database to back out the changes. |
Hi there,
|
I've not run into any spontaneous issues with plugin install.
This is a bit confounding. The docker image never modifies any of the files from the plugin folder. During launch, it copies all the files from data/plugins to inside the container, so there shouldn't be any way for Redmine to modify them either. If recreating the plugins dir helps, then next time it happens: Move the plugins dir to say plugins_old, recreated it like you normally do and then diff the two folders to see what has changed. The tmp, backups, and files directory are the only ones the container actually writes to. It's always been enough to delete the tmp directory and bring the container down and back up to recover from something that's gone wrong. |
I use this docker-redmine on a Synology via docker-compose and it runs well.
Now I like to install the Plugin clipboard_past from "git clone https://github.com/peclik/clipboard_image_paste.git" an try to install it with docker exec -it redmine_redmine_1 redmine-install-plugins but it fails with an error.
Now I try to deinstall the Plugin as described in the wik, but this failed also.
I try with and without the DB environment, but rake can
t connect to the db and therefor not deinstall the plugin.
docker run --name=redmine -it --rm--env='DB_ADAPTER=postgresql'
--env='DB_HOST=localhost'
--env='DB_PORT=5432' \
--env='DB_NAME=redmine_production'
--env='DB_USER=redmine' --env='DB_PASS=DBRedmine1'
--volume=/volume1/docker/redmine/redmine_data:/home/redmine/data
sameersbn/redmine:4.1.1-2
app:rake redmine:plugins:migrate NAME=clipboard_image_paste VERSION=0`
Note: I renamed the volume redmine_data: instead redmine.
What is wrong?
As this faulty plugin can´t be deinstalled, instalation of other plugins are blocked.
Thanks for your support.
regards Ralf
The text was updated successfully, but these errors were encountered: