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

Default tracker and default statuses are missing #111

Closed
sedatkestepe opened this issue Apr 9, 2018 · 9 comments

Comments

Projects
None yet
6 participants
@sedatkestepe
Copy link

commented Apr 9, 2018

Hello,

In the docker image (latest) default trackers (feature, bug and support) are missing.
Default statuses (new, assigned, resolved, closed, rejected) also are missing.

I know that I can define them. I wanted to report this anyways. Maybe it's just a couple of DB script missing but it needs to be reported.

Within this issue I may ask you how to add translation for them.

I am also struggling to find a way to delete the workflows. There is one copy button but no delete transition.

Thanks in advance for any comments (for any questions).

@maximkrusina

This comment has been minimized.

Copy link

commented Apr 9, 2018

There is a Rake script to fill-in the default data:
RAILS_ENV=production bundle exec rake redmine:load_default_data
http://www.redmine.org/projects/redmine/wiki/redmineinstall

Did You run this?

@sedatkestepe

This comment has been minimized.

Copy link
Author

commented Apr 9, 2018

@maximkrusina I tried running them. They seem to be runned already:

/home/redmine is not a directory.
Bundler will use `/tmp/bundler/home/unknown' as your home directory temporarily.
Some configuration data is already loaded.

I tried restarting the container to see the difference though. Objects are still missing.

@maximkrusina

This comment has been minimized.

Copy link

commented Apr 21, 2018

@sedatkestepe please, can you show us your docker command or docker-compose.yml?

@wglambert wglambert added the question label Apr 25, 2018

@wglambert

This comment has been minimized.

Copy link

commented Jun 4, 2018

Did you find what was wrong or is this still an issue?

@tianon

This comment has been minimized.

Copy link
Member

commented Jun 8, 2018

I used the example stack.yml included on https://hub.docker.com/_/redmine/, and after the initial database migrations were complete I ran the following docker exec which was successful to load this default data:

$ docker exec -it -u redmine pwd_redmine.1.oyuexksgg15cottr3xxzulhg9 rake redmine:load_default_data

Select language: ar, az, bg, bs, ca, cs, da, de, el, en, en-GB, es, es-PA, et, eu, fa, fi, fr, gl, he, hr, hu, id, it, ja, ko, lt, lv, mk, mn, nl, no, pl, pt, pt-BR, ro, ru, sk, sl, sq, sr, sr-YU, sv, th, tr, uk, vi, zh, zh-TW [en]
====================================
Default configuration data loaded.

image

image

👍

@gnn06

This comment has been minimized.

Copy link

commented Oct 12, 2018

hi, I'm new to docker.

Why not add a call to "rake redmine:load_default_data" into the entreypoint.sh script after "gosu redmine rake db:migrate" ?

load_default_data takes a language into input but may be we bypass this problem.

Best regards

@tianon

This comment has been minimized.

Copy link
Member

commented Oct 12, 2018

To name a couple reasons:

  1. not everyone wants the default/example data loaded

  2. we'd need to ensure the default data only loads the first time the container starts with a clean fresh database (whereas db:migrate is safe to call no matter what -- it'll no-op if the database schema is up to date)

@gnn06

This comment has been minimized.

Copy link

commented Oct 20, 2018

Hi,
Hoping this might be useful to someone else, just go into administration page, the application shows a button to load the initial values.

@itnavigate

This comment has been minimized.

Copy link

commented Feb 21, 2019

@gnn06 : Can you add a screen shot link showing where this button is please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.