Redmine: Helphttps://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292024-03-19T06:42:12ZRedmine
Redmine Help: Permissions to edit particular fields in issueshttps://www.redmine.org/boards/2/topics/695272024-03-19T06:42:12ZSergei Naumov
<p>Hi!<br />I would like to restrict editing a 'due date' to anyone except an author of an issue. The task is obviously becoming more general about a way to control permissions on any field of an issue. A standard roles machinery allows to control editing in general but it is too strong because prohibits everything except the comments. I thought there must be a plugin for such things but I don't seem to be able to find anything of that sort.</p> Help: sort bar/create new feature wirh custom fields?https://www.redmine.org/boards/2/topics/695182024-03-15T11:58:06ZReiner Lichtenberger
<p>hi, is possible to sort the car according the needs? and is it possible to create a new feature eg. systems in the bar? (see attached picure<br />thx in acvance RL</p>
<hr />
<p>Environment:<br /> Redmine version 4.1.1.stable<br /> Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux]<br /> Rails version 5.2.4.2<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />SCM:<br /> Git 2.17.1<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed</p> Help: custom fields in news?https://www.redmine.org/boards/2/topics/695172024-03-15T11:56:11ZReiner Lichtenberger
<p>Hi, is there a possibility to create custom fields in "news" or only the showed options.<br />Maybe with programming?</p>
<p>----<br />Environment:<br /> Redmine version 4.1.1.stable<br /> Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux]<br /> Rails version 5.2.4.2<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />SCM:<br /> Git 2.17.1<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed</p> Help: RE: Graphing external data in Redminehttps://www.redmine.org/boards/2/topics/69365?r=69514#message-695142024-03-14T15:47:13ZSergei Naumov
<p>Andy Pack wrote in <a class="message" href="https://www.redmine.org/boards/2/topics/69365?r=69472#message-69472">RE: Graphing external data in Redmine</a>:</p>
<blockquote>
<p>Hi, it’s Andy from RedmineUP. We have a Reporter plugin which allows you to insert custom html code onto the page - <a class="external" href="https://www.redmineup.com/pages/plugins/reporter">https://www.redmineup.com/pages/plugins/reporter</a></p>
<p>So with some customization it might fit your needs.</p>
<p>What kind of graphs is it supposed to look like and what is the database source to use from?<br />Depending on your requirements, it might turn out to be a custom development so you could contact us at <a class="email" href="mailto:support@redmineup.com">support@redmineup.com</a> for more detail on this point.</p>
<p>Please pm us or write to me directly.<br />Brs,</p>
</blockquote>
<p>I would want to include a custom code in project overview page. I have your Reports plugin but it generates reports, not a thing that would look like a "widget"...</p> Help: RE: Wanted to store wiki pages in the object storagehttps://www.redmine.org/boards/2/topics/69511?r=69513#message-695132024-03-14T15:36:49ZRashi Khitoliya
<p>Actually I am creating lots of documents in all the Project's wiki that's why i having an issue of running out of space that's why i wanted the wiki pages will be store in object storage. And I need some guidance that how you can I rewrite of the wiki code.</p> Help: RE: Wanted to store wiki pages in the object storagehttps://www.redmine.org/boards/2/topics/69511?r=69512#message-695122024-03-14T15:04:22ZHolger Just
<p>Wiki pages can only be stores in the database, similar to issues, forum posts and all other editable data. I'm not aware of any plugin which allows storing the wiki pages somewhere else (as this would effectively result in a 90% rewrite of the wiki code)</p>
<p>Still, as wiki pages are just text, they shouldn't be that large and none of the supported databases should not be challenged by the amount of data which is commonly stored in a wiki.</p> Help: Wanted to store wiki pages in the object storagehttps://www.redmine.org/boards/2/topics/695112024-03-14T12:54:53ZRashi Khitoliya
<p>My DB size increase day by day and i want wiki pages also store in the Object storage. I am using redmine version 5.0.5 and rails version 6.1.</p>
<p>Please guide me to resolve this issue.</p> Help: RE: Help with image widthhttps://www.redmine.org/boards/2/topics/69351?r=69510#message-695102024-03-14T12:46:57ZHolger Just
<p>It seems you use Markdown formatting (or the newer CommonMark formatting) in your Redmine. Here, you can use actual HTML and CSS to format your images.</p>
<p>With CommonMark, you can e.g. use the following HTML:</p>
<pre><code class="html syntaxhl"><span class="nt"><img</span> <span class="na">src=</span><span class="s">"image.jpg"</span> <span class="na">alt=</span><span class="s">"My Image"</span> <span class="na">style=</span><span class="s">"width:450px;"</span><span class="nt">></span>
</code></pre> Help: RE: Upgrade to redmine 5.x (Oracle Linux server release 9.2) from redmine 3.4.4 (CentOS Li...https://www.redmine.org/boards/2/topics/69322?r=69509#message-695092024-03-14T12:39:46ZELidon Sina
<p>Hello Andy,</p>
<p>we had the support of another team. They are now dealing with the situation.</p>
<p>Thank you<br />Elidon</p> Help: RE: Help with image widthhttps://www.redmine.org/boards/2/topics/69351?r=69508#message-695082024-03-14T11:33:02ZAndy Pack
<p>Hi Pasquale,</p>
<p>You can use our CMS plugin for resizing images, there is an article on this point —> <a class="external" href="https://www.redmineup.com/pages/help/cms/images">https://www.redmineup.com/pages/help/cms/images</a></p>
<p>Brs,<br />Andy</p> Help: RE: Upgrade to redmine 5.x (Oracle Linux server release 9.2) from redmine 3.4.4 (CentOS Li...https://www.redmine.org/boards/2/topics/69322?r=69507#message-695072024-03-14T11:29:44ZAndy Pack
<p>Hi ELidon Sina,</p>
<p>If the question is still actual - we offer a separate installation service (with migrating from an old Redmine instance, i.e. upgrade service).</p>
<p>Drop us email on <a class="email" href="mailto:support@redmineup.com">support@redmineup.com</a> for more details on this.</p>
<p>All the best,<br />Andy</p> Help: RE: Install Redmine and Migrate Datahttps://www.redmine.org/boards/2/topics/69501?r=69506#message-695062024-03-14T08:36:43ZC S
Then I would personally first switch to a version 4 and see if it works (if not with an intermediate step to V3).<br />The change/upgrade always follows the same principle:
<ul>
<li>Backup/copy database</li>
<li>Backup/copy all files in the files folder</li>
<li>Save/copy templates (adjust if necessary)</li>
<li>Get plugins in a compatible version<br />See also: <a class="external" href="https://www.redmine.org/projects/redmine/wiki/RedmineUpgrade">https://www.redmine.org/projects/redmine/wiki/RedmineUpgrade</a></li>
</ul>
<p>Good luck ;)</p> Help: RE: Install Redmine and Migrate Datahttps://www.redmine.org/boards/2/topics/69501?r=69505#message-695052024-03-14T08:15:49ZThomas Kehl
<p>The reason is that I want to move away from Bitnami and set up an independent Redmine installation. Hence the question about migrating the data.</p> Help: RE: Install Redmine and Migrate Datahttps://www.redmine.org/boards/2/topics/69501?r=69504#message-695042024-03-14T07:11:14ZC S
<p>Why don't you just take a look at Bitnami's documentation? Since this is an installation customized by them, they are also the best contact for the upgrade...</p>
<p><a class="external" href="https://docs.bitnami.com/general/apps/redmine/administration/upgrade/">https://docs.bitnami.com/general/apps/redmine/administration/upgrade/</a></p> Help: RE: API: "GET /issues/ID.json returns" 404 Not Found errorhttps://www.redmine.org/boards/2/topics/69492?r=69502#message-695022024-03-13T15:05:06Zm a
<p>Thank you for your reply!</p>
<p>I am just exchanging <code>issues/123.json</code> for <code>/issues.json?issue_id=123</code> and it works. (But no journals are returned)<br />So I would rule out faulty authentication.</p>
<p>I will check the server logs.</p> Help: Install Redmine and Migrate Datahttps://www.redmine.org/boards/2/topics/695012024-03-12T23:20:59ZThomas Kehl
<p>Hello<br />I am currently using Bitnami Redmine on a Windows server system. The following version information:</p>
<p>Environment:<br /> Redmine version 2.5.1.stable<br /> Ruby version 1.9.3-p231 (2012-05-25) [i386-mingw32]<br /> Rails version 3.2.17<br /> Environment production<br /> Database adapter Mysql2<br />SCM:<br /> Subversion 1.14.1<br /> Git 1.9.0<br /> File system<br />Redmine plugins:<br /> no plugin installed</p>
<p>Now I would like to install the latest version of Redmine (without Bitnami) and use SQL Server. Is it possible to migrate the data accordingly? How do I best proceed?<br />Or should I use the new version with MySQL?<br />Thank you for your support.</p>
<p>Many greetings, Thomas</p> Help: RE: API: "GET /issues/ID.json returns" 404 Not Found errorhttps://www.redmine.org/boards/2/topics/69492?r=69497#message-694972024-03-11T16:03:04ZHolger Just
<p>The responses for individual issues, i.e. <code>/issues/123.json</code> always contain the journals. Thus, there is no need to specify the <code>include</code> there (in fact, it is ignored).</p>
<p>As for why exactly you get the 404 there is not clear. If you have access to the the logs of the Redmine server (i.e. the file in <code>log/production.log</code>), there may be some additional hints logged there. Usually, when you get a 404 for a valid request, the issue is actually absent or you have not send any authentication (username/password or API key) when requesting a non-public issue.</p>
<p>Possibilities are thus: you are sending an invalid request (e.g. using wrong encoding of some characters in the URL), or more likely, you did not send suitable credentials along with your non-working requests.</p>
<p>If everything is correct is may also be that some required associated data can not be found. Here, Redmine may sometimes also reply with a 404. This may be confirmed from the server logs.</p> Help: API: "GET /issues/ID.json returns" 404 Not Found errorhttps://www.redmine.org/boards/2/topics/694922024-03-08T15:19:04Zm a
<p>I am using Postman to access Redmine via the REST API.</p>
<p>What I want: reading the journal and the attachments of tickets.</p>
Does not work:
<ul>
<li>Using GET <code>{{redmineUrl}}/projects/{{redmineProjectName}}/issues/{{ID}}.json</code> returns status 404 not found.</li>
<li>So also <code>GET /issues/[id].json?include=journals</code> is returning the 404.</li>
</ul>
Works:
<ul>
<li>Using GET <code>{{redmineUrl}}/projects/{{redmineProjectName}}/issues.json?issue_id={{ID}}</code> returns the issue and its details.</li>
<li>Using GET <code>{{redmineUrl}}/projects/{{redmineProjectName}}/issues.json?issue_id={{ID}}&include=attachments</code> additionally returns the attachments.</li>
</ul>
Does not work:
<ul>
<li>Using GET <code>{{redmineUrl}}/projects/{{redmineProjectName}}/issues.json?issue_id={{ID}}&include=journals</code>. No journals are returned.</li>
</ul>
<p>Has anyone an idea how to resolve this?</p>
<p>Also I am using Postman just for debugging purpose. The final software is using C#/.NET</p>
<p>Thanks!</p> Help: RE: Loading time issues on tasks of project I have no access tohttps://www.redmine.org/boards/2/topics/69490?r=69491#message-694912024-03-07T18:44:27ZHolger Just
<p>That is not possible as it is exactly how the permissions in Redmine are supposed to work, namely to only grant you access to data you have explicit permissions to access.</p>
<p>If you once had access to a project and that access is later revoked, you won't be able to access any data from that project anymore. If you still require access, please ask the Administrator of your Redmine installation to grant you access to the project again.</p> Help: Loading time issues on tasks of project I have no access tohttps://www.redmine.org/boards/2/topics/694902024-03-07T15:14:03ZВладислав Силантьев
<p>I have an app that loads time logs data from Redmine and do something with it. It have been working just fine but today I encountered an issue.</p>
<p>Today I have logged some time on a task on some project, that is not mine. Then, project owner revoke my access to this project.<br />So I logged 8 hours of work on a date.</p>
<p>Then I load my time logs for today it is only 7.5h, and it seems like the rest of 0.5h (that was logged on a project that I no longer has access to) is missing.</p>
<p>Is there any way to load time logs from project, where I have some time logged but don't have access to? Or am I do something wrong?</p>
<p>Here's how my integration works:<br />1. It loads all the time entries for today (request on '/time_entries.json', with params ['spent_on' => '2024-03-07', 'user_id' => valid_user_id_value])<br />2. I foreach every time entry and requesting '/issues/current_issue_id.json' with params ['include' => 'journals']<br />3. Then I parse the result and gather data collection</p>
<p>Any advice would be much appreciated!</p> Help: RE: Getting issues with no assigned_to_id fieldhttps://www.redmine.org/boards/2/topics/69484?r=69489#message-694892024-03-07T11:21:24ZHolger Just
<p>You can only use one operator for a field.</p>
<p>Thus, to achieve your result, you can use <code>!*</code> and set the value to the list of all users but yourself, thus excluding all issues which are assigned to any user but yourself.</p> Help: RE: Error on Issue CSV Exporthttps://www.redmine.org/boards/2/topics/59731?r=69488#message-694882024-03-07T11:19:00ZHolger Just
<p>This change will cause some of the logic of the methods to be disabled. In the end, your changes have the same effect as deleting the <code>force_encoding</code> lines would have (namely turning it into a no-op). This will result in some changed behavior and may cause unexpected encoding results for non-UTF-8-encoded strings. This change should thus NOT be used.</p>
<p>Instead, if you still observe an issue with an up-to-date version of Redmine in this area, please open an issue and provide enough details there to allow us to reproduce the issue, this included:</p>
<ul>
<li>Your Redmine and Ruby versions</li>
<li>a full stack trace</li>
<li>a detailed description of the involved data and your setup to allow us to reproduce the issue.</li>
</ul>
<p>Please also see <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Submissions">Submissions</a> for details.</p> Help: RE: Error on Issue CSV Exporthttps://www.redmine.org/boards/2/topics/59731?r=69486#message-694862024-03-07T08:54:30Zrob buzzai
<p>Hi, following Marc reply, I fixed the issue on redmine version 4.0.6 stable, with the following code on codeset_util.rb</p>
<pre>
<code class="ruby syntaxhl"><span class="k">module</span> <span class="nn">Redmine</span>
<span class="k">module</span> <span class="nn">CodesetUtil</span>
<span class="k">def</span> <span class="nc">self</span><span class="o">.</span><span class="nf">replace_invalid_utf8</span><span class="p">(</span><span class="n">str</span><span class="p">)</span>
<span class="k">return</span> <span class="n">str</span> <span class="k">if</span> <span class="n">str</span><span class="p">.</span><span class="nf">nil?</span>
<span class="n">str</span><span class="p">.</span><span class="nf">dup</span><span class="p">.</span><span class="nf">force_encoding</span><span class="p">(</span><span class="s1">'UTF-8'</span><span class="p">)</span>
<span class="k">if</span> <span class="o">!</span> <span class="n">str</span><span class="p">.</span><span class="nf">valid_encoding?</span>
<span class="n">str</span> <span class="o">=</span> <span class="n">str</span><span class="p">.</span><span class="nf">encode</span><span class="p">(</span><span class="s2">"UTF-16LE"</span><span class="p">,</span> <span class="ss">:invalid</span> <span class="o">=></span> <span class="ss">:replace</span><span class="p">,</span>
<span class="ss">:undef</span> <span class="o">=></span> <span class="ss">:replace</span><span class="p">,</span> <span class="ss">:replace</span> <span class="o">=></span> <span class="s1">'?'</span><span class="p">).</span><span class="nf">encode</span><span class="p">(</span><span class="s2">"UTF-8"</span><span class="p">)</span>
<span class="k">end</span>
<span class="n">str</span>
<span class="k">end</span>
<span class="k">def</span> <span class="nc">self</span><span class="o">.</span><span class="nf">to_utf8</span><span class="p">(</span><span class="n">str</span><span class="p">,</span> <span class="n">encoding</span><span class="p">)</span>
<span class="k">return</span> <span class="n">str</span> <span class="k">if</span> <span class="n">str</span><span class="p">.</span><span class="nf">nil?</span>
<span class="n">str</span><span class="p">.</span><span class="nf">dup</span><span class="p">.</span><span class="nf">force_encoding</span><span class="p">(</span><span class="s2">"ASCII-8BIT"</span><span class="p">)</span>
<span class="k">if</span> <span class="n">str</span><span class="p">.</span><span class="nf">empty?</span>
<span class="n">str</span><span class="p">.</span><span class="nf">dup</span><span class="p">.</span><span class="nf">force_encoding</span><span class="p">(</span><span class="s2">"UTF-8"</span><span class="p">)</span>
<span class="k">return</span> <span class="n">str</span>
<span class="k">end</span>
<span class="n">enc</span> <span class="o">=</span> <span class="n">encoding</span><span class="p">.</span><span class="nf">blank?</span> <span class="p">?</span> <span class="s2">"UTF-8"</span> <span class="p">:</span> <span class="n">encoding</span>
<span class="k">if</span> <span class="n">enc</span><span class="p">.</span><span class="nf">upcase</span> <span class="o">!=</span> <span class="s2">"UTF-8"</span>
<span class="n">str</span><span class="p">.</span><span class="nf">dup</span><span class="p">.</span><span class="nf">force_encoding</span><span class="p">(</span><span class="n">enc</span><span class="p">)</span>
<span class="n">str</span> <span class="o">=</span> <span class="n">str</span><span class="p">.</span><span class="nf">encode</span><span class="p">(</span><span class="s2">"UTF-8"</span><span class="p">,</span> <span class="ss">:invalid</span> <span class="o">=></span> <span class="ss">:replace</span><span class="p">,</span>
<span class="ss">:undef</span> <span class="o">=></span> <span class="ss">:replace</span><span class="p">,</span> <span class="ss">:replace</span> <span class="o">=></span> <span class="s1">'?'</span><span class="p">)</span>
<span class="k">else</span>
<span class="n">str</span> <span class="o">=</span> <span class="n">replace_invalid_utf8</span><span class="p">(</span><span class="n">str</span><span class="p">)</span>
<span class="k">end</span>
<span class="n">str</span>
<span class="k">end</span>
<span class="k">def</span> <span class="nc">self</span><span class="o">.</span><span class="nf">to_utf8_by_setting</span><span class="p">(</span><span class="n">str</span><span class="p">)</span>
<span class="k">return</span> <span class="n">str</span> <span class="k">if</span> <span class="n">str</span><span class="p">.</span><span class="nf">nil?</span>
<span class="nb">self</span><span class="p">.</span><span class="nf">to_utf8_by_setting_internal</span><span class="p">(</span><span class="n">str</span><span class="p">).</span><span class="nf">force_encoding</span><span class="p">(</span><span class="s1">'UTF-8'</span><span class="p">)</span>
<span class="k">end</span>
<span class="k">def</span> <span class="nc">self</span><span class="o">.</span><span class="nf">to_utf8_by_setting_internal</span><span class="p">(</span><span class="n">str</span><span class="p">)</span>
<span class="k">return</span> <span class="n">str</span> <span class="k">if</span> <span class="n">str</span><span class="p">.</span><span class="nf">nil?</span>
<span class="n">str</span><span class="p">.</span><span class="nf">dup</span><span class="p">.</span><span class="nf">force_encoding</span><span class="p">(</span><span class="s1">'ASCII-8BIT'</span><span class="p">)</span>
<span class="k">return</span> <span class="n">str</span> <span class="k">if</span> <span class="n">str</span><span class="p">.</span><span class="nf">empty?</span>
<span class="k">return</span> <span class="n">str</span> <span class="k">if</span> <span class="sr">/\A[\r\n\t\x20-\x7e]*\Z/n</span><span class="p">.</span><span class="nf">match</span><span class="p">(</span><span class="n">str</span><span class="p">)</span> <span class="c1"># for us-ascii</span>
<span class="n">str</span><span class="p">.</span><span class="nf">dup</span><span class="p">.</span><span class="nf">force_encoding</span><span class="p">(</span><span class="s1">'UTF-8'</span><span class="p">)</span>
<span class="n">encodings</span> <span class="o">=</span> <span class="no">Setting</span><span class="p">.</span><span class="nf">repositories_encodings</span><span class="p">.</span><span class="nf">split</span><span class="p">(</span><span class="s1">','</span><span class="p">).</span><span class="nf">collect</span><span class="p">(</span><span class="o">&</span><span class="ss">:strip</span><span class="p">)</span>
<span class="n">encodings</span><span class="p">.</span><span class="nf">each</span> <span class="k">do</span> <span class="o">|</span><span class="n">encoding</span><span class="o">|</span>
<span class="k">begin</span>
<span class="n">str</span><span class="p">.</span><span class="nf">dup</span><span class="p">.</span><span class="nf">force_encoding</span><span class="p">(</span><span class="n">encoding</span><span class="p">)</span>
<span class="n">utf8</span> <span class="o">=</span> <span class="n">str</span><span class="p">.</span><span class="nf">encode</span><span class="p">(</span><span class="s1">'UTF-8'</span><span class="p">)</span>
<span class="k">return</span> <span class="n">utf8</span> <span class="k">if</span> <span class="n">utf8</span><span class="p">.</span><span class="nf">valid_encoding?</span>
<span class="k">rescue</span>
<span class="c1"># do nothing here and try the next encoding</span>
<span class="k">end</span>
<span class="k">end</span>
<span class="nb">self</span><span class="p">.</span><span class="nf">replace_invalid_utf8</span><span class="p">(</span><span class="n">str</span><span class="p">).</span><span class="nf">force_encoding</span><span class="p">(</span><span class="s1">'UTF-8'</span><span class="p">)</span>
<span class="k">end</span>
<span class="k">def</span> <span class="nc">self</span><span class="o">.</span><span class="nf">from_utf8</span><span class="p">(</span><span class="n">str</span><span class="p">,</span> <span class="n">encoding</span><span class="p">)</span>
<span class="n">str</span> <span class="o">||=</span> <span class="s1">''</span>
<span class="n">str</span><span class="p">.</span><span class="nf">dup</span><span class="p">.</span><span class="nf">force_encoding</span><span class="p">(</span><span class="s1">'UTF-8'</span><span class="p">)</span>
<span class="k">if</span> <span class="n">encoding</span><span class="p">.</span><span class="nf">upcase</span> <span class="o">!=</span> <span class="s1">'UTF-8'</span>
<span class="n">str</span> <span class="o">=</span> <span class="n">str</span><span class="p">.</span><span class="nf">encode</span><span class="p">(</span><span class="n">encoding</span><span class="p">,</span> <span class="ss">:invalid</span> <span class="o">=></span> <span class="ss">:replace</span><span class="p">,</span>
<span class="ss">:undef</span> <span class="o">=></span> <span class="ss">:replace</span><span class="p">,</span> <span class="ss">:replace</span> <span class="o">=></span> <span class="s1">'?'</span><span class="p">)</span>
<span class="k">else</span>
<span class="n">str</span> <span class="o">=</span> <span class="nb">self</span><span class="p">.</span><span class="nf">replace_invalid_utf8</span><span class="p">(</span><span class="n">str</span><span class="p">)</span>
<span class="k">end</span>
<span class="k">end</span>
<span class="k">end</span>
<span class="k">end</span>
</code><br /></pre> Help: RE: Getting issues with no assigned_to_id fieldhttps://www.redmine.org/boards/2/topics/69484?r=69485#message-694852024-03-06T18:29:12ZRuslan K
<p>UPDT:<br />I found the solution - "!*" but now I have a question, how can I pass 2 such parameters in one query? "me" and "!*" ?</p> Help: Getting issues with no assigned_to_id fieldhttps://www.redmine.org/boards/2/topics/694842024-03-06T14:39:40ZRuslan K
<p>Hi there! <br />How can I get a list of issues that are assigned to me, as well as those that do not have an "assigned_to_id" field?</p>
<p>assigned_to_id: "me" works as expected. But how do I get the full result?</p> Help: RE: Сustom field for file upload - Limit on number of fileshttps://www.redmine.org/boards/2/topics/69467?r=69477#message-694772024-03-04T09:56:18ZBernhard Rohloff
<p>Hi Julia,</p>
<p>unfortunately uploading multiple files to a custom field is not possible as of today. Maybe uploading the files as an attachment can be a viable option.</p> Help: RE: Anyone using Windows successfully? Redmine 5.x with Windows issue with devkit & mysql2https://www.redmine.org/boards/2/topics/69358?r=69474#message-694742024-03-04T00:24:10ZAndy Pack
<p>A solution could be the latest Bitnami Redmine stack.<br />In the past it was divided for the different OS, for example Linux, Windows, MacOS but recently they made a new solution - .ova virtual image of the Bitnami Redmine, so it could be easily installed with few steps with some software for virtualization, for example VirtualBox.</p>
<p>There is an article with screenshots and video demonstration in the end how to install it:) → <a class="external" href="https://www.redmineup.com/pages/help/installation/Redmine-Bitnami-virtual-image-ova-virtualbox">https://www.redmineup.com/pages/help/installation/Redmine-Bitnami-virtual-image-ova-virtualbox</a></p>
<p>Brs,</p> Help: RE: Manager roles cannot view issueshttps://www.redmine.org/boards/2/topics/69360?r=69473#message-694732024-03-04T00:16:21ZAndy Pack
<p>There is role called Non member, with issue visibility - all non private issues:</p>
<p><img src="https://www.redmine.org/attachments/download/32049/image2.png" alt="" /></p>
<p>Other option is to go to Administration - Roles and permissions - [select the needed role]. And then scroll down to “Issue tracking” and make sure to enable “View issues” option. This screenshot could be checked for more clarity:</p>
<p><img src="https://www.redmine.org/attachments/download/32050/image5.png" alt="" /></p>
<p>If you’d like to see how it is performing you may check it out in our free demo account:<br /><a class="external" href="https://www.redmineup.com/pages/blog/test-free-redmine-demo-by-redmineup">https://www.redmineup.com/pages/blog/test-free-redmine-demo-by-redmineup</a></p>
<p>Or try this functionality with our free trial on Cloud platform:<br /><a class="external" href="https://www.redmineup.com/pages/cloud/project-management#top">https://www.redmineup.com/pages/cloud/project-management#top</a></p>
<p>Brs,</p> Help: RE: Graphing external data in Redminehttps://www.redmine.org/boards/2/topics/69365?r=69472#message-694722024-03-03T22:32:15ZAndy Pack
<p>Hi, it’s Andy from RedmineUP. We have a Reporter plugin which allows you to insert custom html code onto the page - <a class="external" href="https://www.redmineup.com/pages/plugins/reporter">https://www.redmineup.com/pages/plugins/reporter</a></p>
<p>So with some customization it might fit your needs.</p>
<p>What kind of graphs is it supposed to look like and what is the database source to use from?<br />Depending on your requirements, it might turn out to be a custom development so you could contact us at <a class="email" href="mailto:support@redmineup.com">support@redmineup.com</a> for more detail on this point.</p>
<p>Please pm us or write to me directly.<br />Brs,</p> Help: Сustom field for file upload - Limit on number of fileshttps://www.redmine.org/boards/2/topics/694672024-03-01T09:00:51ZJulia Lenskaya
<p>I'm creating a custom field for file upload.<br /><img src="https://www.redmine.org/attachments/download/32045/clipboard-202403011138-fhrud.png" alt="" /><br />This field only uploads 1 file, but I awant to to upload many files to the same field<br /><img src="https://www.redmine.org/attachments/download/32046/clipboard-202403011141-insqw.png" alt="" />(here only 1 file)<br />Is it possible?</p>
<p>When I try to drag and drop multiple files to this field i get folowing error:<br /><img src="https://www.redmine.org/attachments/download/32047/clipboard-202403011155-dv5ov.png" alt="" /></p>
<p>Is there a way to make it so that multiple file could be uploaded simultaneously to custom file field through drag'n'drop or file selection dialog?</p>
<p>Information about redmine:</p>
<p>RAILS_ENV=production bin/about</p>
<p>sh: 1: hg: not found<br />sh: 1: cvs: not found<br />sh: 1: bzr: not found<br />Environment:<br /> Redmine version 5.1.1.stable<br /> Ruby version 3.0.1-p64 (2021-04-05) [x86_64-linux]<br /> Rails version 6.1.7.6<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery sendmail<br />Redmine settings:<br /> Redmine theme A1 (includes JavaScript)<br />SCM:<br /> Subversion 1.14.1<br /> Git 2.30.2<br /> Filesystem<br />Redmine plugins:<br /> redmine_agile 1.6.4<br /> redmine_checklists 3.1.22<br /> redmine_contacts 4.3.6<br /> redmine_more_previews 5.0.6<br /> redmine_questions 1.0.5<br /> redmine_resources 2.0.1<br /> redmine_zenedit 2.0.6<br /> redmineup_tags 2.0.14</p> Help: RE: New to Redmine: Projects, Issues, Trackers, Tasks? Looking for the bigger picturehttps://www.redmine.org/boards/2/topics/69414?r=69465#message-694652024-02-28T14:49:29ZBernhard Rohloff
<p>Hi Dave,</p>
<p>no Problem. :-)<br />Categories can be used to collect issues of the same kind (tracker) under a specific topic. For example I have "Infrastructure", "Services", "Support", "Documentation" as categories for my issues. Just to get a better overview for what the most work is done. This could be realised with custom fields, too but the advantage of the categories is that they are project specific. So every project can have its own list of categories. One project can have different servers as categories, another project likes to categorize the tasks for different facilities, you name it.</p>
<p>You can group your issues by category in the issues list, generate reports about spent time by category or show a graph of open and closed issues by category in the roadmap.</p>
<p>Greetings,</p>
<p>Bernhard</p> Help: RE: New to Redmine: Projects, Issues, Trackers, Tasks? Looking for the bigger picturehttps://www.redmine.org/boards/2/topics/69414?r=69460#message-694602024-02-28T01:40:12ZDave Hall
<p>Bernhard,</p>
<p>Please pardon another basic question: I just noticed that issues have a category field. Since you are using Redmine for something similar to what I plan, how do you use this category field?</p>
<p>Thanks.</p>
<p>-Dave</p> Help: RE: How to download attachments using rest api?https://www.redmine.org/boards/2/topics/69432?r=69456#message-694562024-02-27T13:09:41ZHolger Just
<p>Well, it seems that your webserver does not properly inform your application server that the initial request was made over https. Thus, the application server (and thus Redmine) assumes that it was made over plain http. To fix this, you likely have to adapt your webserver config, depending on your exact setup.</p>
<p>Depending on your webserver, this usually requires setting an additoional request header before passing along the request to the application server. With Apache, this can look like this in your SSL virtual host:</p>
<pre>
RequestHeader set X-Forwarded-Proto "https"
</pre>
<p>With nginx, this can look like this in your SSL server</p>
<pre>
proxy_set_header X-Forwarded-Proto https;
</pre>
<p>It depends on your specific setup where exactly you need to set these headers in your configuration.</p> Help: Commit Appears in Repository Tab but Not Linked to Issue Until Manually Visitedhttps://www.redmine.org/boards/2/topics/694542024-02-27T11:39:38ZD Kkatigoroshek@yahoo.com
<p>Hello,</p>
<p>I've encountered an issue with Redmine where commits are correctly showing up under the "Repository" tab but are not automatically linked to the related issue in the "Associated revisions" section of the issue page. This link only seems to be established after I manually visit the "Repository" tab; only then does the commit appear in the issue's "Associated revisions."</p>
<p>Here's the sequence of events:</p>
<p>I commit changes to the repository with a message that references an issue (e.g., "Fixes <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: NoMethodError causes HTTP 500 error (Closed)" href="https://www.redmine.org/issues/1234">#1234</a> - corrected typo").<br />The commit immediately appears under the "Repository" tab, indicating that Redmine successfully fetches the commit.<br />However, when I navigate to the referenced issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: NoMethodError causes HTTP 500 error (Closed)" href="https://www.redmine.org/issues/1234">#1234</a>, the "Associated revisions" section does not display the new commit.<br />It is only after I visit the "Repository" tab and then return to the issue page that the commit appears in the "Associated revisions." <br />This behavior requires an unnecessary step to link commits to issues, which is not ideal for tracking changes and updates efficiently. Is there a way to ensure that commits are automatically linked to issues without needing to visit the "Repository" tab first? Perhaps a configuration setting I'm missing or a cron job that could help?</p>
<p>I appreciate any insights or solutions you might have.</p>
<p>Thank you!</p> Help: RE: How to download attachments using rest api?https://www.redmine.org/boards/2/topics/69432?r=69451#message-694512024-02-27T10:18:33ZParikshit Chaudhary
<p>Thanks, <a class="user active" href="https://www.redmine.org/users/2784">Holger Just</a> for your prompt response.</p>
<p>As I'm new to Redmine, can you please help with how to correct it? Because I'm getting <strong>http</strong> in my <em>content_url</em> instead of <strong>https</strong>.</p>
<p>What do I need to do so that I can get <em>content_url</em> in the <strong>https</strong> form?</p>
<p>Thanks in advance.</p>
<p>Regards,<br />Parikshit</p> Help: RE: Problems creating a custom field using POST to /custom_fields.jsonhttps://www.redmine.org/boards/2/topics/69441?r=69449#message-694492024-02-26T21:32:00ZPaul Philion
<p>Thanks for the response!</p>
<p>I was hoping that was an oversight in documentation and not a missing capability.</p>
<p>As I have a specific need to be able to standup a working test container that includes custom fields, I need to find a way to work around this limitation.</p>
Possibilities that occur to me:
<ul>
<li>Provide a patch to implement full POST, PUT and DELETE for custom fields in Redmine</li>
<li>Hack some fields directly into the DB using SQL</li>
<li>Load initialized-state volumes in the container for Redmine and the DB</li>
<li>Implement a Redmine plugin to initialize custom fields, installed in the container</li>
<li>Store custom fields in an external store, using issue and user URLs as external keys</li>
</ul>
<p>Does anyone have recommendations for a Ruby-newbie?</p> Help: RE: How to download attachments using rest api?https://www.redmine.org/boards/2/topics/69432?r=69448#message-694482024-02-26T20:42:07ZHolger Just
<p>From your redacted URLs, it appears that you are accessing your Redmine via https while the generated <code>content_url</code> uses http. If that is actually the case, your Redmine may be configured incorrectly. If you are the admin, please check the settings in <b>Administration</b> -> <b>Settings</b> to be correct for the external URL.</p>
<p>As for actually downloading the attachment, you should use a <code>GET</code> request to the <code>content_url</code> using your usual API authentication mechanism.</p> Help: RE: Problems creating a custom field using POST to /custom_fields.jsonhttps://www.redmine.org/boards/2/topics/69441?r=69447#message-694472024-02-26T20:38:09ZHolger Just
<p>There is currently no exposed API to create custom fields (only to get a list of existing custom fields). As such, you have to create these fields with a web browser.</p> Help: RE: Simple reliable way to host redminehttps://www.redmine.org/boards/2/topics/69428?r=69445#message-694452024-02-26T20:09:58ZMarius BĂLTEANU
<p>Otherwise, you can try using a Redmine hosting service like <a href="https://plan.io/" class="external">Plan.io</a>.</p> Help: RE: Simple reliable way to host redminehttps://www.redmine.org/boards/2/topics/69428?r=69444#message-694442024-02-26T20:09:20ZMarius BĂLTEANU
<p>Cloud Run, being a serverless service, requires more advance configurations in order to have all the persistent storage that Redmine requires for attachments, files, etc. Also, debugging is harder in such service.</p>
<p>For the begging, I will go with Compute Engine with a separate disk for Redmine data and Cloud SQL with MySQL or PostreSQL for database.</p> Help: Problems creating a custom field using POST to /custom_fields.jsonhttps://www.redmine.org/boards/2/topics/694412024-02-25T19:41:12ZPaul Philion
<p>I am trying to create a new custom field using the /custom_fields API, but I'm seeing strange behavior in authentication: The POST fails even though similar POST to other resources (like /issues) with the same creds.</p>
<p>My code is producing a post that seems valid (and GET works fine):<br /><pre>
method='POST'
url='http://localhost/custom_fields.json'
headers={'User-Agent': 'netbot/0.0.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-Redmine-API-Key': 'VALID_ADMIN_KEY', 'Content-Length': '130'}
body='{"custom_field": {"name": "cf_yoyo", "customized_type": "issue", "field_format": "string", "is_filter": true, "searchable": true}}', 'hooks': {'response': []}, '_body_position': None}
</pre></p>
<p>The response give me a 403 Forbidden, and the request logs are:<br /><pre>
I, [2024-02-25T19:03:00.809842 #881] INFO -- : [REQID] Started POST "/custom_fields.json" for 192.168.65.1 at 2024-02-25 19:03:00 +0000
I, [2024-02-25T19:03:00.810727 #881] INFO -- : [REQID] Processing by CustomFieldsController#create as JSON
I, [2024-02-25T19:03:00.810804 #881] INFO -- : [REQID] Parameters: {"custom_field"=>{"name"=>"cf_yoyo", "customized_type"=>"issue", "field_format"=>"string", "is_filter"=>true, "searchable"=>true}}
I, [2024-02-25T19:03:00.812697 #881] INFO -- : [REQID] Current user: anonymous
I, [2024-02-25T19:03:00.813474 #881] INFO -- : [REQID] Filter chain halted as :require_admin rendered or redirected
I, [2024-02-25T19:03:00.813613 #881] INFO -- : [REQID] Completed 403 Forbidden in 3ms (ActiveRecord: 0.4ms | Allocations: 642)
</pre></p>
<p>The "Current user" is confusing to me, because a POST to /issues with the same headers results in:<br /><pre>
I, [2024-02-25T19:24:43.205444 #881] INFO -- : [REQIQ] Started POST "/issues.json" for 192.168.65.1 at 2024-02-25 19:24:43 +0000
I, [2024-02-25T19:24:43.206233 #881] INFO -- : [REQIQ] Processing by IssuesController#create as JSON
I, [2024-02-25T19:24:43.206302 #881] INFO -- : [REQIQ] Parameters: {"issue"=>{"project_id"=>1, "subject"=>"subject", "description"=>"body"}}
I, [2024-02-25T19:24:43.209704 #881] INFO -- : [REQIQ] User switched by: admin (id=815)
I, [2024-02-25T19:24:43.209808 #881] INFO -- : [REQIQ] Current user: admin (id=815)
I, [2024-02-25T19:24:43.262403 #881] INFO -- : [REQIQ] Rendered issues/show.api.rsb (Duration: 1.0ms | Allocations: 480)
I, [2024-02-25T19:24:43.262647 #881] INFO -- : [REQIQ] Completed 201 Created in 56ms (Views: 1.5ms | ActiveRecord: 6.6ms | Allocations: 16307)
</pre></p>
<p>Note the user ID 815 is an admin user created specifically for API access and as admin privileges. Same API token for both requests, and this log is from a specific test that involved checking if forced impersonation made any difference. It didn't, and I have not been able to find a way to create custom fields via API.</p>
<p>GET /custom_fields.json operates as expected.</p> Help: How to download attachments using rest api?https://www.redmine.org/boards/2/topics/694322024-02-22T05:34:36ZParikshit Chaudhary
<p>Hi Team,</p>
<p>I'm using this GET "https://redmine_url/issues.json/?issue_id=1&include=attachments" to get the issue data including attachments. In the response I'm getting "content_url": "http://redmine_url/attachments/download/2/Chapter.docx" that is a downloadable link.</p>
<p>When I'm trying to hit this url in postman by using POST method, Basic Auth and providing username & password I'm getting "Connection Time Out Error." <br />I've also tried to hit this content-url in incognito tab and using java code, but I'm getting same "Connection Time Out Error".</p>
<p>Can you please help me, how we can download the attachments using code/rest API/Redmine java library?</p>
<p>Regards,<br />Parikshit</p> Help: Simple reliable way to host redminehttps://www.redmine.org/boards/2/topics/694282024-02-21T09:19:18ZDana Buck
<p>I do not have much experience with servers and backend and hosting services. Everyone on my small dev team is pretty apathetic to issue tracking, so I am taking time to get this going myself. I would like to host a redmine instance using http with mysql and periodic backups.</p>
<p>I was thinking I could just spin up a linode linux vm, and install redmine and mysql directly on the vm OS, and just enable the linode periodic backup feature of the entire VM. Is this reasonable?</p>
<p>Alternatively, our company already uses Google Cloud products for our backend, so I thought I could use Google Cloud Run and Google Cloud SQL. This would be quite a bit of overkill though.</p>
<p>Thoughts?</p> Help: RE: Looking for a safety management sofwarehttps://www.redmine.org/boards/2/topics/62127?r=69425#message-694252024-02-21T08:25:42ZTuấn Bình Nguyễn
<p>Dear Dale,<br />My company already developed a third-party software that can manage project and company resource (budget, effort, cost, employee log-time). Its name is InstantView.</p>
<p>The InstantView will connect to Redmine and collect Project data.</p>
<p>Instantview has features to minimize risks such as:</p>
<p>Report on the control of effort of each project, each employee and of the entire company. Support tracking the number of working hours, billable hours, non-billable hours, performance ratio, billable/non-billable ratio of each employee and each project; Comparison between plan and reality, between different reporting periods.</p>
<p>Report the cost of each project and of the whole company. Support real-time project tracking to detect risks and take timely action. Check the budget, actual costs, errors, profits, profitability of each project.</p>
<p>Non-billable control of the whole company. Create a statistical report listing the personnel and the percentage of effort of those employees involved in projects without charge. The company can analyze the causes and solutions to minimize non-billable.</p>
<p>Revenue report. Allows recording and analyzing the company's revenue from business activities on a month-by-month basis. Includes revenue of ongoing projects, expected revenue of projects under tender. In addition, personnel responsible for bidding can suggest success rates and automatically adjust revenue when bidding is successful.</p>
<p>Best regards.</p> Help: RE: New to Redmine: Projects, Issues, Trackers, Tasks? Looking for the bigger picturehttps://www.redmine.org/boards/2/topics/69414?r=69424#message-694242024-02-21T08:16:22ZBernhard Rohloff
<p>Regarding long-term projects/tasks. There are a number of things you can do. Firstly, you can break up a large task by adding subtasks/issues to a parent issue. The overall progress of the task is calculated by the progress of its subtasks.</p>
<p>For long-term planning, the roadmap/versions come in handy. You can create versions (like work packages) with due dates and assign issues to them. The Roadmap tab shows the list of planned work packages with their progress, estimated time and time spent on the package. The Gantt chart also shows the versions and their overall progress. I personally have versions for every quarter of the year and one backlog version for collecting future tasks.</p>
<p>Each issue may have a field for the estimated time required. If the issue has subtasks, all the estimated hours are aggregated to the parent issue. You can easily see the estimated and actual time next to each other in the issue list.</p> Help: RE: The queue adapter for dev/test reports a bughttps://www.redmine.org/boards/2/topics/69093?r=69423#message-694232024-02-21T07:24:22ZSheng Ze Fan
<p>Hello:</p>
<p>I already add gem 'sidekiq' in Gemfile</p>
<p>is below URL good to use? will have any impact?</p>
<p><a class="external" href="https://github.com/sidekiq/sidekiq">https://github.com/sidekiq/sidekiq</a></p> Help: RE: The queue adapter for dev/test reports a bughttps://www.redmine.org/boards/2/topics/69093?r=69421#message-694212024-02-21T01:25:51ZSheng Ze Fan
<p>hello</p>
<p>configure fail about run as a system service.</p>
<p>=> Configure sidekiq to run as a system service<br />Follow the official steps described in <a class="external" href="https://github.com/mperham/sidekiq/wiki/Deployment#running-your-own-process">https://github.com/mperham/sidekiq/wiki/Deployment#running-your-own-process</a><br />The above steps points to a sidekiq.service example file which can be used to configure the service<br />During service configuration, at least the following information must be provided:<br />WorkingDirectory => <strong>if I have multi-site, many redmine site folder , how to config this ?</strong><br />User<br />Group</p>
<p>thanks</p> Help: RE: New to Redmine: Projects, Issues, Trackers, Tasks? Looking for the bigger picturehttps://www.redmine.org/boards/2/topics/69414?r=69420#message-694202024-02-20T16:17:56ZDave Hall
<p>Bernhard,</p>
<p>Great to know that you are doing something similar. So to start, one project, but "task categories"==trackers, and tasks==issues. Thinking of the Gantt charts, is there a sense of a sort of long term or ongoing 'project' that has occasional tasks and time spent? One of the things I need to characterize is the amount of activity (issues) and time for certain categories of activity. The other is for some more consequential tasks that aren't getting addressed due to other workload.</p>
<p>Regarding the Redmine VMs, I have 3 Bitnami Redmine VMs - one 'production', a clone for backup, and a separate one for playing and breaking.</p>
<p>Thanks for your input and support.</p>
<p>-Dave</p> Help: phoebus-olog Configuration Authentication Errorhttps://www.redmine.org/boards/2/topics/694192024-02-20T14:13:24ZAlptug Demirarslan
<p>Hello,</p>
<p>I am trying to setup olog so I can create and view logs on my nsls2-phoebus. First of all I will explain the steps and my latest problem. I have fallowed the github/phoebus-olog setup (<a class="external" href="https://github.com/Olog/phoebus-olog">https://github.com/Olog/phoebus-olog</a>) doing this I have downloaded elasticsearch(8.2.3) mongodb(7.0.5) openJDK(17.0.9) and got a build successful message on all of them and starting the service I could see my build was succesfull on IP:8080/Olog with this message;</p>
<p>{ "name" : "Olog Service", "version" : "4.7.4-SNAPSHOT", "elastic" : { "status" : "Connected", "clusterName" : "elasticsearch", "clusterUuid" : "EWlQSA_GRwWiJaXDnIFFgQ", "version" : "co.elastic.clients.elasticsearch._types.ElasticsearchVersionInfo@b95ccb4", "elasticHost" : "localhost", "elasticPort" : "9200" }, "mongoDB" : "{type=STANDALONE, servers=[{address=localhost:27017, type=STANDALONE, roundTripTime=18.3 ms, state=CONNECTED}]", "serverConfig" : { "maxFileSize" : 15.0, "maxRequestSize" : 50.0 } }</p>
<p>after this step I started the configuration process and now can create logbooks but cannot see them in my Log Entry Table also I can do this with any username password. Also in the Credentials Management login page when I try to login to logbook I get "com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused" error and get the same error, even with different User Name and password. My configuration file, my run-phoebus.sh file and my authentication error image are insterted below any help is much appreciated.</p>
<p><img src="https://www.redmine.org/attachments/download/32001/Screenshot%20from%202024-02-20%2016-20-47.png" style="width: 40%;" alt="" /> <br /><img src="https://www.redmine.org/attachments/download/32002/Screenshot%20from%202024-02-20%2016-23-49.png" style="width: 40%;" alt="" /> <br /><img src="https://www.redmine.org/attachments/download/32003/Screenshot%20from%202024-02-20%2016-25-07.png" style="width: 40%;" alt="" /><br /><img src="https://www.redmine.org/attachments/download/32005/Screenshot%20from%202024-02-20%2016-29-00.png" style="width: 40%;" alt="" /><br /><img src="https://www.redmine.org/attachments/download/32006/Screenshot%20from%202024-02-20%2017-12-12.png" style="width: 40%;" alt="" /></p> Help: RE: New to Redmine: Projects, Issues, Trackers, Tasks? Looking for the bigger picturehttps://www.redmine.org/boards/2/topics/69414?r=69418#message-694182024-02-20T13:25:13ZBernhard Rohloff
<p>I have a small IT shop where I do exactly this with Redmine. Tracking my work and collecting information about my tasks.<br />Redmine isn't just tied to software development. It's just the terminology like "target release" that makes it look like it is.</p>
<p>To start, I would do the following:<br />- Collect your task categories and create trackers for them.<br />- Design the workflow for each tracker. Create custom states as needed. (Keep it simple. <code>New -> In progress -> Done</code> is sufficient for most tasks).<br />- Specify form fields as needed.</p>
<p>And I highly recommend playing around with Redmine at least a little.<br />There are virtual machine images from Bitnami or Docker images that you can use to spin up an installation and start playing around with Redmine.</p> Help: RE: New to Redmine: Projects, Issues, Trackers, Tasks? Looking for the bigger picturehttps://www.redmine.org/boards/2/topics/69414?r=69417#message-694172024-02-20T12:50:19ZDave Hall
<p>Bernhard,</p>
<p>Your description is very helpful. If I understand, a tracker associates a workflow with a class of issues, right? It's good to know how the pieces are internally connected.</p>
<p>Regarding the other part of my questions: I have a set of daily and ongoing processes that I would like to map into Redmine. These are IT related, but not software development. Maybe some are slightly like HelpDesk, but others go in the direction of systems and data center management, large deployments, or procurement activities.</p>
<p>I have a sense that Redmine can be useful for the above. I'm looking for some examples of how others have done this to help me try to 'do it right the first time'.</p>
<p>Thanks.</p>
<p>-Dave</p> Help: RE: New to Redmine: Projects, Issues, Trackers, Tasks? Looking for the bigger picturehttps://www.redmine.org/boards/2/topics/69414?r=69416#message-694162024-02-20T12:23:51ZBernhard Rohloff
<p>Hi Dave, unfortunately I don't have any diagrams to hand, but perhaps I can enlighten you a bit with the following descriptions.</p>
<p>The basic concept of Redmine is issues. Issues are just forms with a unique number attached to them. In Redmine it is possible to have different types of issues.<br />They basically differ in the structure/fields of the forms and the process of how they change their status. This is called a tracker. You can fine-tune who can see and edit an issue. Not everything needs to be visible and editable by everyone.</p>
<p>Issues are grouped into projects, which can also contain additional information such as a wiki, documents or other modules. <br />Projects can have sub-projects to divide a larger project into smaller parts. All issues in the sub-projects can be viewed and filtered in the parent project.<br />By default, issues are not visible to members of neighbouring projects.</p>
<p>Greetings,<br />Bernhard</p> Help: New to Redmine: Projects, Issues, Trackers, Tasks? Looking for the bigger picturehttps://www.redmine.org/boards/2/topics/694142024-02-19T21:34:34ZDave Hall
<p>Hello,</p>
<p>After watching Redmine for years, I finally have a chance to install and use it for something.</p>
<p>I'm having a little trouble comprehending the relationship between projects, sub-projects, issues, trackers, etc. Also my application of Redmine is not for software development, so I'm trying to figure out how to map my processes into Redmine.</p>
<p>I think I'm looking for some sort of a diagram or description of how projects, issues and trackers are connected so I can look at what I want to do with Redmine and figure out what should be a project and what should be an issue within a project, etc., and also how to organize it so I can extract information in a format that will be understandable and useful for my management.</p>
<p>Perhaps some of this is more project management-related than Redmine related. If so, I'd be glad to receive any links that will help me to see more clearly.</p>
<p>Thanks.</p>
<p>-Dave</p> Help: How to display the project of the related issue in issue list?https://www.redmine.org/boards/2/topics/694132024-02-19T11:32:16Zliu hu
<p>As the screenshot below,I want to display another column to show the project of the related issue.<br /><img src="https://www.redmine.org/attachments/download/31986/clipboard-202402191932-nnj1q.png" alt="" /></p> Help: RE: How to delete "history" in tickets? https://www.redmine.org/boards/2/topics/69406?r=69412#message-694122024-02-19T10:40:13ZReiner Lichtenberger
<p>Environment:<br /> Redmine version 4.1.1.stable<br /> Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux]<br /> Rails version 5.2.4.2<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />SCM:<br /> Git 2.17.1<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed</p> Help: Can we Export all the comments through CSV.https://www.redmine.org/boards/2/topics/694112024-02-19T05:48:54ZAnkita Jadhav
<p>Can we Export all the comments through CSV. <br />When we are exporting the Data through CSV we are only getting the latest comment, is there any way where we can get the all comments.</p> Help: RE: Error: 413 Request Entity Too Largehttps://www.redmine.org/boards/2/topics/69408?r=69409#message-694092024-02-17T19:43:00ZAnonymous
<p>Sorry, this can get deleted. The issue was a wrongly copied nginx configuration. Instead of client_max_body_size 10m; I had client_max_body_size 10;</p> Help: Error: 413 Request Entity Too Largehttps://www.redmine.org/boards/2/topics/694082024-02-17T19:14:29ZAnonymous
<p>Hi,</p>
<p>I followed this guide to install Redmine: <a class="external" href="https://www.linuxcloudvps.com/blog/how-to-install-redmine-on-ubuntu-22-04/">https://www.linuxcloudvps.com/blog/how-to-install-redmine-on-ubuntu-22-04/</a>.<br />My intention was to use Nginx instead of Apache. Everything seems to be running smoothly, however, whenever I attempt to log in or submit any form, Nginx reports this error: 413 Request Entity Too Large.<br />Interestingly, I can't find any information about how the form is being handled in the redmine.log.<br />It's unlikely that Nginx is causing the error, as nginx displays this only when the load is indeed too large. I've even increased the client_max_body_size in the Nginx config.</p>
<p>I would greatly appreciate any help or advice. I've been stuck on this issue for several days.</p> Help: How to delete "history" in tickets? https://www.redmine.org/boards/2/topics/694062024-02-16T08:23:00ZReiner Lichtenberger
<p>is it possible to delete history in database tables or deactivate it?<br />thx a lot RL</p> Help: Can not return to 5.0.7 from 5.1.1 even with an old DBhttps://www.redmine.org/boards/2/topics/693982024-02-13T19:26:35ZSergei Naumov
<p>Hi!<br />I have been playing with an 5.1.1 on my staging copy of Redmine. I then wanted to return to 5.0.4. I know that downgrading is not possible with the same DB, so I simply wiped out this DB instance and restored a DB from an older backup. Still, it says that I can not downgrade:</p>
<pre>
redmine-1 | ERROR:
redmine-1 | Cannot downgrade from Redmine version 5.1.1 to 5.0.7.
redmine-1 | Only upgrades are allowed. Please use sameersbn/redmine:5.1.1 or higher.
redmine-1 | Cannot continue. Aborting!
redmine
</pre>
<p>Why is that? What else didn't I do?</p> Help: Can we export all the comments in CSV file with the Author name, Date and Time?https://www.redmine.org/boards/2/topics/693972024-02-13T10:03:26ZAnkita Jadhav
<p>Hi Team,</p>
<p>I tried to export the comments but got only the latest comment.<br />I want the comment in the format of 22-11-2022 18:51; Author's Name or ID; This is test comment.</p> Help: Is there a way to set the default sort order of documentshttps://www.redmine.org/boards/2/topics/693962024-02-13T09:22:11ZI Ushills
<p>Hello, I am running Redmine 5.1.1 and cannot find a way to set the default sort order on the Documents tab on my Projects.</p>
<p>When I click into 'Documents' the initial sort order is Category, I can then click the link on the right options to sort by Date, however, is there a way to set Date as the default or a way to create a new default view?</p> Help: RE: Issues to Emailhttps://www.redmine.org/boards/2/topics/69252?r=69395#message-693952024-02-13T07:38:31ZMohamed El Habchi
<p>I have the same implemented<br />Im using a custom query with redmine API url, <br />First I create a cron job to export the data .csv <br /><pre><code class="php syntaxhl"><span class="n">curl</span> <span class="o">-</span><span class="n">k</span> <span class="s2">"https://mywebsite.com/projects/my-project/issues.csv?query_id=266&key=api_key"</span> <span class="o">></span> <span class="n">export</span><span class="mf">.</span><span class="n">csv</span>
</code></pre><br />after the file exported to the desired directory, I use PHPmailer/ mailx to send the file as attachement<br />and so far works great for me</p> Help: Error to create a new grouphttps://www.redmine.org/boards/2/topics/693942024-02-12T19:11:21ZAndrea Sanchez
<p>Hello colleagues,</p>
<p>I have problems after migrating and updating Redmine from 4.2.3 to 5.1.1</p>
<p>This Redmine was moved from one server to another. Now in version 5.1.1 I get the following error when creating new user groups (attached screenshots and log captured in a local simulation environment).</p>
<p>Error Internal error</p>
<p>System info</p>
<p>Environment:<br /> Redmine version 5.1.1.stable<br /> Ruby version 3.2.3-p157 (2024-01-18) [x86_64-linux]<br /> Rails version 6.1.7.6<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />Redmine settings:<br /> Redmine theme Cfe (includes JavaScript)<br />SCM:<br /> Git 2.39.3<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed</p>
<p>Log</p>
<p>[b02f5a6b-e696-4639-a199-57f34da1baaa]<br />[b02f5a6b-e696-4639-a199-57f34da1baaa] ActionView::Template::Error (undefined method `twofa_required' for #<Group id: nil, login: "", hashed_password: [FILTERED], firstname: "", lastname: "", admin: false, status: 1, last_login_on: nil, language: "", auth_source_id: nil, created_on: nil, updated_on: nil, type: "Group", identity_url: nil, mail_notification: "", salt: nil, must_change_passwd: false, passwd_changed_on: nil, twofa_scheme: nil, twofa_totp_key: nil, twofa_totp_last_used_at: nil>):<br />[b02f5a6b-e696-4639-a199-57f34da1baaa] 4: <p><%= f.text_field :name, :required => true, :size => 60,<br />[b02f5a6b-e696-4639-a199-57f34da1baaa] 5: :disabled => <a class="email" href="mailto:!@group.safe">!@group.safe</a>_attribute?('name') <span>></p><br />[b02f5a6b-e696-4639-a199-57f34da1baaa] 6: <</span> unless @group.builtin? <span>><br />[b02f5a6b-e696-4639-a199-57f34da1baaa] 7: <p><</span>= f.check_box :twofa_required, disabled: !Setting.twofa_optional? <span>><br />[b02f5a6b-e696-4639-a199-57f34da1baaa] 8: <</span> if Setting.twofa_required? <span>><br />[b02f5a6b-e696-4639-a199-57f34da1baaa] 9: <em class="info"><</span>= l 'twofa_text_group_required' <span>></em><br />[b02f5a6b-e696-4639-a199-57f34da1baaa] 10: <</span> elsif !Setting.twofa_optional? %><br />[b02f5a6b-e696-4639-a199-57f34da1baaa]<br />[b02f5a6b-e696-4639-a199-57f34da1baaa] lib/redmine/views/labelled_form_builder.rb:36:in `check_box'<br />[b02f5a6b-e696-4639-a199-57f34da1baaa] app/views/groups/_form.html.erb:7<br />[b02f5a6b-e696-4639-a199-57f34da1baaa] app/views/groups/new.html.erb:4<br />[b02f5a6b-e696-4639-a199-57f34da1baaa] app/helpers/application_helper.rb:1487:in `labelled_form_for'<br />[b02f5a6b-e696-4639-a199-57f34da1baaa] app/views/groups/new.html.erb:3<br />[b02f5a6b-e696-4639-a199-57f34da1baaa] lib/redmine/sudo_mode.rb:61:in `sudo_mode'</p> Help: RE: Is updating existing issues via CSV import when their ID's are the same?https://www.redmine.org/boards/2/topics/69299?r=69392#message-693922024-02-12T06:46:37ZHarmony Kuhnhahnbaron6@gmail.com
<p>I also want to know it.</p> Help: RE: how to set working days/weekendshttps://www.redmine.org/boards/2/topics/11135?r=69390#message-693902024-02-11T20:25:00ZJorge Vaz
<p>Holger Just wrote in <a class="message" href="https://www.redmine.org/boards/2/topics/11135?r=69369#message-69369">RE: how to set working days/weekends</a>:</p>
<blockquote>
<p>Administrators can configure the non-working days...</p>
</blockquote>
<p>Yes Holger, but that's not what we're talking about (I think! At least that's the demand I have).</p>
<p>For example, on Wednesdays we all work, however December 25, 2024 is a Wednesday and it will not be a working day due the holiday.</p>
<p>This is a "basic" project management demand that I believe everyone has, something like "Calendar Management"</p> Help: RE: Unable to update users after migration - Error 500 https://www.redmine.org/boards/2/topics/67591?r=69388#message-693882024-02-10T06:40:58ZNikolay -
<p>Thanks bro! You helped me a lot!</p> Help: RE: The queue adapter for dev/test reports a bughttps://www.redmine.org/boards/2/topics/69093?r=69383#message-693832024-02-07T17:21:53ZMarius BĂLTEANU
<p>Your environment is production so it's normal to have that warning message regarding the default queue adapter which is not recommended for production environments, you can read more in <a class="external" href="https://www.redmine.org/projects/redmine/wiki/RedmineInstall#Queues-adapter">https://www.redmine.org/projects/redmine/wiki/RedmineInstall#Queues-adapter</a>.</p> Help: RE: The queue adapter for dev/test reports a bughttps://www.redmine.org/boards/2/topics/69093?r=69377#message-693772024-02-07T06:53:35ZSheng Ze Fan
<p>Hello:</p>
<p>I got same message on version 5.1.1.<br />please help.</p>
<p>thanks<br /><img src="https://www.redmine.org/attachments/download/31944/clipboard-202402071453-uw7vq.png" alt="" /></p> Help: RE: how to set working days/weekendshttps://www.redmine.org/boards/2/topics/11135?r=69369#message-693692024-02-05T13:15:35ZHolger Just
<p>Administrators can configure the non-working days in <strong>Administration</strong> -> <strong>Settings</strong> -> <strong>Issue Tracking</strong> -> <b>Non-working days</b>. All days checked there:</p>
<ul>
<li>will appear greyed out in the Gantt charts and calendars,</li>
<li>will be skipped when calculating the new start date for dependent issues with a <em>follows</em> relation</li>
</ul>
<p>With works without any plugins since Redmine 2.2.0 when <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Time tracking code should respect weekends as "no work" days (Closed)" href="https://www.redmine.org/issues/2161">#2161</a> was first released.</p> Help: RE: how to set working days/weekendshttps://www.redmine.org/boards/2/topics/11135?r=69368#message-693682024-02-04T07:27:22ZDavid Peng
<p><a class="external" href="https://github.com/riggy2013/redmine_work_days">https://github.com/riggy2013/redmine_work_days</a></p> Help: Graphing external data in Redminehttps://www.redmine.org/boards/2/topics/693652024-02-01T14:38:56ZSergei Naumov
<p>Hi!<br />I am looking for a plugin that would allo to insert graphs on the project overview page. The graphs should be drawn from an external datasource.</p>
<p>Is there anything of that sort or I should start writing one? :-)</p>
<p>The plugins I have found only draw graphs from internal data (issues opened/closed, etc.)</p> Help: Manager roles cannot view issueshttps://www.redmine.org/boards/2/topics/693602024-01-31T10:21:38ZNaji Mussanaji.mussa@qpmc.qa
<p>How can I assign a role (say Manager) with the ability to see all issues, even the ones that are not assigned to him/her? Of course without giving admin access!</p> Help: Anyone using Windows successfully? Redmine 5.x with Windows issue with devkit & mysql2https://www.redmine.org/boards/2/topics/693582024-01-30T23:10:13ZJames H
<p>Coming from using Redmine 3.x and 4.x, has anyone successfully installed Redmine 5.x on windows?</p>
<p>I am constantly running into problems with multiple versions of Ruby devkit (tried most of the latest versions) and multiple versions of mysql2 gem (tried all 5.x versions), 64 & 32bit, on more than one device, multiple kinds of anti-virus vs anti virus exceptions applied, etc.<br />The latest Ruby version that seems to work fine is 2.7.6, which is now no longer supported.<br />On some machines I have more issues with the devkit than on other machines depending on versions and 32bit/64bit, but mysql2 gem is always a problem on everything.</p> Help: RE: Upgrade to redmine 5.x from redmine 3.4.4 https://www.redmine.org/boards/2/topics/69322?r=69352#message-693522024-01-29T16:47:34ZELidon Sina
<p>hello Holger,<br />I just had more info from our system administrator.<br />Our current situation is as follows:</p>
<p>Operating system: CentOS Linux Release 7.9.2009</p>
<p>Environment:<br /> Redmine version 3.4.4.stable<br /> Ruby version 2.4.1-p111 (2017-03-22) [x86_64-linux]<br /> Rails version 4.2.8<br /> Environment production<br /> Database adapter Mysql2<br />SCM:<br /> Subversion 1.7.14<br /> Git 1.8.3.1<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed</p>
<p>We want to put the new redmine into another server: Oracle Linux server release 9.2.<br />Is there possibile to upgrade to new server (possibly new redmine 5.x and database) migrating all the data from the old one?</p>
<p>Thank you</p> Help: Help with image widthhttps://www.redmine.org/boards/2/topics/693512024-01-29T15:36:01ZPasquale Meo
<p>Hi everyone, I'm writing to ask for help with configuring image width for redmine 5.1.1</p>
<p>Basically to import the image I use the code:</p>
<p>![ ](image.jpg)</p>
<p>and then I upload the image.</p>
<p>then I tried entering {width:450px} to change the width, but it didn't help.</p>
<p>Could anyone tell me, if possible with an example, how to adjust the image to the size I want?</p>
<p>Thank you</p> Help: RE: Automatic mail when creating a tickethttps://www.redmine.org/boards/2/topics/69341?r=69349#message-693492024-01-29T08:52:19ZDimitar RedmineUP
<p>Dear Norbert,</p>
<p>This is Dimitar from the RedmineUP Support Team here. I suppose you mean our Helpdesk plugin, right? You may see the full list of available macros (and names that could be used via macros) here ---> <a class="external" href="https://www.redmineup.com/pages/help/helpdesk/macros">https://www.redmineup.com/pages/help/helpdesk/macros</a></p>
<p>For more detailed information on your request, please contact us at <a class="email" href="mailto:support@redmineup.com">support@redmineup.com</a>.</p>
<p>Thanks.</p>
<p>Best Regards,<br />Dimitar from the RedmineUP Support Team</p> Help: Wiki macros don't respect :only_pathhttps://www.redmine.org/boards/2/topics/693462024-01-28T16:03:14ZBolesław Kalinowski
<p>When I generate PDF from a Wiki page containing side-by-side: Wiki macro <strong>{{issue(number)}}</strong> and Redmine link <strong>##number</strong> i'm receiving content that contains links 'host/issues/number' and ' <strong>http://</strong> host/issues/number'.</p>
<p>Is this intentional?</p> Help: Issue with Redmine 5.1.1 or redmine-x CK Editor?https://www.redmine.org/boards/2/topics/693432024-01-26T16:37:06ZChristian C.
<p>Hello together,</p>
<p>this is my first post at this forum. If I missed some information please let me know.</p>
<p>I upgraded our bitnami-redmine "4.2.3.stable" to bitnami-redmine "5.1.1.stable" while using a new OVA-template. All worked well. I just required to change my CKEditor-Plugin from <a class="external" href="https://github.com/a-ono/redmine_ckeditor">https://github.com/a-ono/redmine_ckeditor</a> (version 1.2.3) to the one from redmine-x (version 1.2.4). The only change seems to be the compatibility to Redmine 5.x they have added.</p>
<p>My issue is about the file uploading via CKEditor plugin. For compatibility reason uploaded files shouldn't contain special characters like "space". But some of our users are doing this and that worked well in the past. Now it seems to create issues. I wan't to know if this is a different behavior from Redmine in generall or that changes must come from the plugin I'm using now.</p>
<ins>Here you can see the actual issue (your version 1.2.4):</ins>
<ul>
<li>Attachment: "upload_image_now.png"
<ul>
<li>Some thumbnails are missing and also can't be inserted into redmine wiki page</li>
</ul></li>
</ul>
<ins>In the past it worked very well:</ins>
<ul>
<li>Attachment: "upload_image_before.png"
<ul>
<li>All thumbnails are there</li>
</ul></li>
</ul>
<p>Here are two examples while uploading a new file called "Idee 3.png". The "old" Redmine and CKEditor version uses correctly "Idee%203.png" to "GET" the thumbnail. The new Redmine combined with CKEditor tries to use "Idee+3.png" what fails with "404 459".</p>
<p><ins>Working way</ins><br /><pre>
<ServerIP> - - [26/Jan/2024:16:14:32 +0000] "-" 408 -
<ServerIP> - - [26/Jan/2024:16:14:41 +0000] "POST /rich/files?authenticity_token=J4WWXtQKYJY%2FXnhGbGwi%2FpQU9gl1jCGw6%2BofL7z4RGu5XHr5ZmPFuUaUczmB2ZXEUZsbKHcjJC93Teda7K1KqQ%3D%3D&simplified_type=image&scoped=true&scope_type=Project&scope_id=1&qqfile=Idee+3.png HTTP/1.1" 200 30
<ServerIP> - - [26/Jan/2024:16:14:41 +0000] "GET /rich/files/393 HTTP/1.1" 200 344
<ServerIP> - - [26/Jan/2024:16:14:41 +0000] "GET /system/rich/rich_files/rich_files/000/000/393/rich_thumb/Idee%203.png?1706285681 HTTP/1.1" 200 8379
</pre></p>
<p><ins><strong>Not</strong> working way</ins><br /><pre>
<ServerIP> - - [26/Jan/2024:16:13:14 +0000] "POST /rich/files?authenticity_token=gTkFJk9VSJI6s4JREb6wRqZNtSd5xfdRx1BDKakdM9cCuVLLXDDQiS1f7%2BWSa1ZXqtDSnfwROgvx%2B%2BPn2fMqkA%3D%3D&simplified_type=image&scoped=true&scope_type=Project&scope_id=1&qqfile=Idee+3.png HTTP/1.1" 200 30
<ServerIP> - - [26/Jan/2024:16:13:15 +0000] "GET /rich/files/396 HTTP/1.1" 200 342
<ServerIP> - - [26/Jan/2024:16:13:15 +0000] "GET /system/rich/rich_files/rich_files/000/000/396/rich_thumb/Idee+3.png?1706285594 HTTP/1.1" 404 459
</pre></p>
<p>I'm looking for solutions :-). Thanks in advanced.</p>
<p>Chris</p> Help: Automatic mail when creating a tickethttps://www.redmine.org/boards/2/topics/693412024-01-25T09:28:58ZNorbert Tester
<p>Hello everyone,</p>
<p>I have a question about the email that is automatically created in the ticket system. Is it possible to use a variable from the ticket creator to use the name in the automatically sent email?</p>
<p>If this is possible, how does it work? I have tried a lot but so far without success. Thank you very much for your support.</p> Help: RE: Upgrade to redmine 5.x from redmine 3.4.4 https://www.redmine.org/boards/2/topics/69322?r=69338#message-693382024-01-24T09:00:58ZELidon Sina
<p>Thank you for your advice Holger.<br />We are going to try the upgrade soon.</p> Help: RE: Upgrade to redmine 5.x from redmine 3.4.4 https://www.redmine.org/boards/2/topics/69322?r=69337#message-693372024-01-24T01:24:17ZYuChen Lin
<p>hi ELidon Sina,</p>
<p>I Have the same question with u?<br />Did u upgrade successful?</p> Help: RE: Take locale into account in a macrohttps://www.redmine.org/boards/2/topics/69333?r=69336#message-693362024-01-23T11:33:16ZSergei Naumov
<p>Holger Just wrote in <a class="message" href="https://www.redmine.org/boards/2/topics/69333?r=69334#message-69334">RE: Take locale into account in a macro</a>:</p>
<blockquote>
<p><code>Redmine::I18n</code> (which is available in all normal controller and view contexts by default) provides a <code>format_date</code> method which returns the goiven date as a formatted string according to the current user's locale. Your code could thus be adapted to</p>
<p>[...]</p>
</blockquote>
<p>Thanks</p> Help: RE: Take locale into account in a macrohttps://www.redmine.org/boards/2/topics/69333?r=69334#message-693342024-01-23T11:07:58ZHolger Just
<p><code>Redmine::I18n</code> (which is available in all normal controller and view contexts by default) provides a <code>format_date</code> method which returns the goiven date as a formatted string according to the current user's locale. Your code could thus be adapted to</p>
<pre><code class="ruby syntaxhl"><span class="n">link_to_issue</span><span class="p">(</span><span class="n">issue</span><span class="p">,</span> <span class="ss">:subject</span> <span class="o">=></span> <span class="kp">false</span><span class="p">,</span> <span class="ss">:tracker</span> <span class="o">=></span> <span class="kp">false</span><span class="p">)</span> <span class="o">+</span> <span class="s2">", </span><span class="si">#{</span><span class="n">format_date</span><span class="p">(</span><span class="n">issue</span><span class="p">.</span><span class="nf">due_date</span><span class="p">)</span><span class="si">}</span><span class="s2">"</span>
</code></pre> Help: Take locale into account in a macrohttps://www.redmine.org/boards/2/topics/693332024-01-23T09:03:28ZSergei Naumov
<p>Hi!<br />I need to display a due date for an issue in my macro. Using</p>
<pre><code class="ruby syntaxhl"><span class="n">link_to_issue</span><span class="p">(</span><span class="n">issue</span><span class="p">,</span> <span class="ss">:subject</span> <span class="o">=></span> <span class="kp">false</span><span class="p">,</span> <span class="ss">:tracker</span> <span class="o">=></span> <span class="kp">false</span><span class="p">)</span> <span class="o">+</span> <span class="s2">", </span><span class="si">#{</span><span class="n">issue</span><span class="p">.</span><span class="nf">due_date</span><span class="si">}</span><span class="s2">"</span>
</code></pre>
<p>works but the date is displayed in a format YYYY-MM-DD which does not take into account the locate set in Redmine settings (based on language it should be DD-MM-YYYY). How do I correct for this?</p> Help: Error installing Redmine 5.1.1 on AltLinuxhttps://www.redmine.org/boards/2/topics/693312024-01-22T12:56:15ZDenis Chupakhin
<p>When installing Redmine 5.1.1 on AltLinux, an error occurs when executing bundle install:</p>
<pre>
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies.....
Fetching rake 13.1.0
Installing rake 13.1.0
Fetching rake 13.1.0
Installing rake 13.1.0
--- ERROR REPORT TEMPLATE -------------------------------------------------------
# Error Report
## Questions
Please fill out answers to these questions, it'll help us figure out
why things are going wrong.
- **What did you do?**
I ran the command `/var/www/webapps/redmine/bin/bundle install`
- **What did you expect to happen?**
I expected Bundler to...
- **What happened instead?**
Instead, what happened was...
- **Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?**
I tried...
- **Have you read our issues document, https://github.com/rubygems/rubygems/blob/master/bundler/doc/contributing/ISSUES.md?**
...
## Backtrace
```
Errno::EACCES: Permission denied @ rb_sysopen - /var/www/webapps/redmine/vendor/bundle/ruby/3.1.0/gems/rake-13.1.0/History.rdoc
/usr/lib/ruby/rubygems/package.rb:441:in `initialize'
/usr/lib/ruby/rubygems/package.rb:441:in `open'
/usr/lib/ruby/rubygems/package.rb:441:in `block (2 levels) in extract_tar_gz'
/usr/lib/ruby/rubygems/package/tar_reader.rb:65:in `each'
/usr/lib/ruby/rubygems/package.rb:412:in `block in extract_tar_gz'
/usr/lib/ruby/rubygems/package.rb:524:in `block in open_tar_gz'
/usr/lib/ruby/rubygems/package.rb:521:in `wrap'
/usr/lib/ruby/rubygems/package.rb:521:in `open_tar_gz'
/usr/lib/ruby/rubygems/package.rb:411:in `extract_tar_gz'
/usr/lib/ruby/rubygems/package.rb:391:in `block (2 levels) in extract_files'
/usr/lib/ruby/rubygems/package/tar_reader.rb:65:in `each'
/usr/lib/ruby/rubygems/package.rb:388:in `block in extract_files'
/usr/lib/ruby/rubygems/package/file_source.rb:29:in `open'
/usr/lib/ruby/rubygems/package/file_source.rb:29:in `with_read_io'
/usr/lib/ruby/rubygems/package.rb:385:in `extract_files'
/usr/lib/ruby/rubygems/installer.rb:869:in `extract_files'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/rubygems_gem_installer.rb:24:in `install'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/source/rubygems.rb:176:in `install'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/installer/gem_installer.rb:67:in `install'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/installer/gem_installer.rb:18:in `install_from_spec'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/installer/parallel_installer.rb:90:in `call'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/installer/parallel_installer.rb:71:in `call'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/installer.rb:270:in `install_in_parallel'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/installer.rb:210:in `install'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/installer.rb:90:in `block in run'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/process_lock.rb:19:in `rescue in lock'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/process_lock.rb:15:in `lock'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/installer.rb:72:in `run'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/installer.rb:24:in `install'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/cli/install.rb:64:in `run'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/cli.rb:259:in `block in install'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/settings.rb:133:in `temporary'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/cli.rb:258:in `install'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/cli.rb:30:in `dispatch'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/cli.rb:24:in `start'
/usr/bin/bundle:49:in `block in <top (required)>'
/usr/lib/ruby/gemie/gems/bundler-2.2.19/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
/usr/bin/bundle:37:in `<top (required)>'
/var/www/webapps/redmine/bin/bundle:4:in `load'
/var/www/webapps/redmine/bin/bundle:4:in `<main>'
```
## Environment
```
Bundler 2.2.19
Platforms ruby, x86_64-linux
Ruby 3.1.2p20 (2022-04-12 revision a21a3b7d23704a01d34bd79d09dc37897e00922a) [x86_64-linux]
Full Path /usr/bin/ruby
Config Dir /etc
RubyGems 3.3.7
Gem Home /var/www/webapps/redmine/vendor/bundle/ruby/3.1.0
Gem Path /var/www/webapps/redmine/vendor/bundle/ruby/3.1.0
User Home /var/www/webapps/redmine
User Path /var/www/webapps/redmine/.local/share/gem/ruby/3.1.0
Bin Dir /var/www/webapps/redmine/vendor/bundle/ruby/3.1.0/bin
OpenSSL
Compiled OpenSSL 1.1.1u 30 May 2023
Loaded OpenSSL 1.1.1w 11 Sep 2023
Cert File /var/lib/ssl/cert.pem
Cert Dir /var/lib/ssl/certs
Tools
Git not installed
RVM not installed
rbenv not installed
chruby not installed
```
## Bundler Build Metadata
```
Built At 2024-01-22
Git SHA unknown
Released Version false
```
## Bundler settings
```
gemfile
Set via BUNDLE_GEMFILE: "/var/www/webapps/redmine/Gemfile"
path
Set for your local app (/var/www/webapps/redmine/.bundle/config): "vendor/bundle"
Set for the current user (/var/www/webapps/redmine/.bundle/config): "vendor/bundle"
without
Set for your local app (/var/www/webapps/redmine/.bundle/config): [:development, :test]
Set for the current user (/var/www/webapps/redmine/.bundle/config): [:development, :test]
```
## Gemfile
### Gemfile
```ruby
source 'https://rubygems.org'
ruby '>= 2.7.0', '< 3.3.0'
gem 'rails', '6.1.7.6'
gem 'rouge', '~> 4.2.0'
gem 'request_store', '~> 1.5.0'
gem 'mini_mime', '~> 1.1.0'
gem "actionpack-xml_parser"
gem 'roadie-rails', '~> 3.1.0'
gem 'marcel'
gem 'mail', '~> 2.8.1'
gem 'nokogiri', '~> 1.15.2'
gem 'i18n', '~> 1.14.1'
gem 'rbpdf', '~> 1.21.3'
gem 'addressable'
gem 'rubyzip', '~> 2.3.0'
# Ruby Standard Gems
gem 'csv', '~> 3.2.6'
gem 'net-imap', '~> 0.3.4'
gem 'net-pop', '~> 0.1.2'
gem 'net-smtp', '~> 0.3.3'
gem 'rexml', require: false if Gem.ruby_version >= Gem::Version.new('3.0')
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]
# TOTP-based 2-factor authentication
gem 'rotp', '>= 5.0.0'
gem 'rqrcode'
# HTML pipeline and sanitization
gem "html-pipeline", "~> 2.13.2"
gem "sanitize", "~> 6.0"
# Optional gem for LDAP authentication
group :ldap do
gem 'net-ldap', '~> 0.17.0'
end
# Optional gem for exporting the gantt to a PNG file
group :minimagick do
gem 'mini_magick', '~> 4.12.0'
end
# Optional Markdown support
group :markdown do
gem 'redcarpet', '~> 3.6.0'
end
# Optional CommonMark support, not for JRuby
group :common_mark do
gem "commonmarker", '~> 0.23.8'
gem 'deckar01-task_list', '2.3.2'
end
# Include database gems for the adapters found in the database
# configuration file
require 'erb'
require 'yaml'
database_file = File.join(File.dirname(__FILE__), "config/database.yml")
if File.exist?(database_file)
yaml_config = ERB.new(IO.read(database_file)).result
database_config = YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(yaml_config) : YAML.load(yaml_config)
adapters = database_config.values.filter_map {|c| c['adapter']}.uniq
if adapters.any?
adapters.each do |adapter|
case adapter
when 'mysql2'
gem "mysql2", "~> 0.5.0", :platforms => [:mri, :mingw, :x64_mingw]
gem "with_advisory_lock"
when /postgresql/
gem 'pg', '~> 1.5.3', :platforms => [:mri, :mingw, :x64_mingw]
when /sqlite3/
gem 'sqlite3', '~> 1.6.0', :platforms => [:mri, :mingw, :x64_mingw]
when /sqlserver/
gem "tiny_tds", "~> 2.1.2", :platforms => [:mri, :mingw, :x64_mingw]
gem "activerecord-sqlserver-adapter", "~> 6.1.0", :platforms => [:mri, :mingw, :x64_mingw]
else
warn("Unknown database adapter `#{adapter}` found in config/database.yml, use Gemfile.local to load your own database gems")
end
end
else
warn("No adapter found in config/database.yml, please configure it first")
end
else
warn("Please configure your config/database.yml first")
end
group :development do
gem 'listen', '~> 3.3'
gem "yard"
end
group :test do
gem "rails-dom-testing"
gem 'mocha', '>= 2.0.1'
gem 'simplecov', '~> 0.22.0', :require => false
gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
# For running system tests
gem 'puma'
gem "capybara", ">= 3.39"
if Gem.ruby_version < Gem::Version.new('3.0')
gem "selenium-webdriver", "<= 4.9.0"
gem "webdrivers", require: false
else
gem "selenium-webdriver", ">= 4.11.0"
end
# RuboCop
gem 'rubocop', '~> 1.57.0', require: false
gem 'rubocop-performance', '~> 1.19.0', require: false
gem 'rubocop-rails', '~> 2.22.1', require: false
end
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
if File.exist?(local_gemfile)
eval_gemfile local_gemfile
end
# Load plugins' Gemfiles
Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|
eval_gemfile file
end
```
### Gemfile.lock
```
<No /var/www/webapps/redmine/Gemfile.lock found>
```
--- TEMPLATE END ----------------------------------------------------------------
Unfortunately, an unexpected error occurred, and Bundler cannot continue.
First, try this link to see if there are any existing issue reports for this error:
https://github.com/rubygems/rubygems/search?q=Permission+denied+%40+rb_sysopen+-+%2Fvar%2Fwww%2Fwebapps%2Fredmine%2Fvendor%2Fbundle%2Fruby%2F3.1.0%2Fgems%2Frake-13.1.0%2FHistory.rdoc&type=Issues
If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:
https://github.com/rubygems/rubygems/issues/new?labels=Bundler&template=bundler-related-issue.md
</pre>
<p>Help me solve this problem.</p>
<p>ruby --version -> ruby 3.1.2p20 (2022-04-12 revision a21a3b7d23) [x86_64-linux]<br />mysql --version -> mysql Ver 15.1 Distrib 10.6.16-MariaDB, for Linux (x86_64) using readline 5.1<br />rails --version -> Could not find gem 'rails (= 6.1.7.6)' in locally installed gems. Run `bundle install` to install missing gems.</p> Help: RE: Upgrade to redmine 5.x from redmine 3.4.4 https://www.redmine.org/boards/2/topics/69322?r=69328#message-693282024-01-20T14:26:19ZHolger Just
<p>Yes, it is possible to upgrade your existing database. Upgrading the database content for the new Redmine version is described in Step 4 of the linked guide.</p>
<p>In the end, however, since Redmine 3.4, a lot has changed. Thus, unless you just us a plain Redmine without any plugins, it's likely a good idea to first setup a new (empty) Redmine instance and database with all the (updated) plugins you used in Redmine 3.4 to find if that all works in principal. Once you have found a working combination (or have decided to get rid of plugins which are no longer updated for Redmine 5.x compatibility), you can perform the actual upgrade by moving over the files and database and performing the database upgrade.</p>
<p>If you have to remove incompatible plugins, you should do that on the old Redmine version before the migration, as you can still run the plugins's reverse migrations there. See <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Plugins#Uninstalling-a-plugin">Plugins</a> for details.</p>
<p>In any case, make sure you have a full and working backup of your database and all of your files and code before starting any migrations so that you can go back in case anything unexpected happens.</p> Help: RE: Upgrade to redmine 5.x from redmine 3.4.4 https://www.redmine.org/boards/2/topics/69322?r=69325#message-693252024-01-19T13:08:08ZELidon Sina
<p>Thank you Holger for your response.</p>
<p>I've already read the section you mention, but I was asking for your experience in general which is the best way to approach the upgrade and if there is any other member that have done this specific upgrade (from 3.4.4) what are your advices? <br />Is there any "trick" that I have to consider? <br />My goal/desire is to have the same db as now, maybe just upgrading it. Is it safe/possibile?</p>
<p>Thank you<br />Elidon</p> Help: RE: Upgrade to redmine 5.x from redmine 3.4.4 https://www.redmine.org/boards/2/topics/69322?r=69324#message-693242024-01-19T12:42:02ZHolger Just
<p>Please follow <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/RedmineUpgrade">RedmineUpgrade</a>.</p> Help: Upgrade to redmine 5.x (Oracle Linux server release 9.2) from redmine 3.4.4 (CentOS Linux ...https://www.redmine.org/boards/2/topics/693222024-01-19T10:21:44ZELidon Sina
<p>Hello all,</p>
<p>Do you have any advice on how to upgrade from redmine 3.4.4 to redmine 5.x with all the current issues, wiki, users, attachments.. etc.<br />Do I have to install new redmine and new db (possibly MySql) and then try to import all the issues/documents into the new db or install new redmine and try to upgrade the current db. Which way is the better way?<br />Thank you.<br />Elidon</p> Help: RE: New install - redmine 5.1.1 on Ubuntu 22.04https://www.redmine.org/boards/2/topics/69144?r=69318#message-693182024-01-18T19:27:27ZEvgeniy Lev
<p>After updating Redmine 5.0.7 on Redmine 5.1.1, problems began with the bundle due to which it is not possible to remove any plugin, in addition, every time you run the installation bundle, a message is displayed stating that the gemfile contains a gem that is repeated several times, which in the future can cause Problems. After I failed to achieve results in the product environment, I deployed the installation from 0. I used the following installation algorithm for Ubuntu 22.04.3 LTS minimal:<br />*under root user<br />1) apt update<br />2) apt upgrade<br />3) useradd r <del>m -d /opt/redmine -s /usr/bin/bash redmine<br />4) usermod -aG redmine www-data<br />5) apt install build-essential ruby-dev libxslt1-dev libmariadb-dev libxml2-dev zlib1g-dev imagemagick libmagickwand-dev curl gnupg2 bison libbison-dev libgdbm-dev libncurses-dev libncurses5-dev libreadline-dev libssl-dev libyaml-dev postgresql libpq-dev -y<br />6) apt install apache2 libapache2-mod-passenger<br />7) systemctl enable --now apache2<br />8) Postgres<br />su - postgres<br /></del> createuser redmine<br />- createdb redmine O redmine<br />psql c "alter user redmine with password 'redmine'" <br />exit<br />9) curl -s <a class="external" href="https://www.redmine.org/releases/redmine-5.1.1.tar.gz">https://www.redmine.org/releases/redmine-5.1.1.tar.gz</a> | sudo -u redmine tar xz -C /opt/redmine/ --strip-components=1</p>
<p>*under the redmine user<br />10) cp /opt/redmine/config/configuration.yml{.example,}<br />cp /opt/redmine/public/dispatch.fcgi{.example,}<br />cp /opt/redmine/config/database.yml{.example,}<br />11) nano /opt/redmine/config/database.yml<br />production:<br />adapter: postgresql<br />database: redmine<br />host: localhost<br />username: redmine<br />password: "redmine" <br />encoding: utf8<br />- Comment out the remaining lines of the file</p>
<p>*under the root user, located in the cd /opt/redmine directory, install bundler<br />12) gem install bundler</p>
<p>*under the redmine user in the folder cd /opt/redmine<br />13) bundle config set --local path 'vendor/bundle'<br />14) bundle install<br />15) bundle update<br />16) gem install io-wait strscan webrick --user-install<br />17) bundle exec rake generate_secret_token<br />18) RAILS_ENV=production bundle exec rake db:migrate<br />19) RAILS_ENV=production REDMINE_LANG=ru bundle exec rake redmine:load_default_data<br />20) for i in tmp tmp/pdf public/plugin_assets; do [ -d $i ] || mkdir -p $i; done<br />20) chown -R redmine:redmine files log tmp public/plugin_assets<br />21) chmod -R 755 /opt/redmine</p>
<p>*under the root user in the directory cd /opt/redmine<br />22)<br />cat > /etc/apache2/sites-available/redmine.conf << 'EOL'<br />Listen 3000<br /><VirtualHost *:80><br />ServerName localhost<br />RailsEnv production<br />DocumentRoot /opt/redmine/public</p>
<p><Directory "/opt/redmine/public"><br />Allow from all<br />Require all granted<br /></Directory></p>
<p>ErrorLog ${APACHE_LOG_DIR}/redmine_error.log<br />CustomLog ${APACHE_LOG_DIR}/redmine_access.log combined<br /></VirtualHost><br />EOL</p>
<p>23) a2enmod passenger<br />24) a2ensite redmine<br />25) a2dissite 000-default.conf<br />26) systemctl restart apache2<br />This completes the installation of Redmine 5.1.1. completed!!!</p>
<p>Strikethrough text is correct due to the presence of a dash and is displayed as strikethrough. The script presented above is working and has been installed on it several times.</p> Help: After updating to Redmine 5.1.1, a problem appeared with duplication of gemshttps://www.redmine.org/boards/2/topics/693172024-01-18T18:56:03ZEvgeniy Lev
<p>Environment:<br /> Redmine version 5.1.1.stable<br /> Ruby version 3.0.2-p107 (2021-07-07) [x86_64-linux-gnu]<br /> Rails version 6.1.7.6<br /> Environment production<br /> Database adapter PostgreSQL<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />Redmine settings:<br /> Redmine theme Default<br />SCM:<br /> Filesystem <br />Redmine plugins:</p>
<p>I installed clean Ubuntu 22.04.3, on which I deployed Redmine 5.1.1, installed the “redmine_budgets” plugin - no errors, everything was fine. Installed the following plugin “redmine_agile”. When running bundle install the following message appears:<br />Your Gemfile lists the gem redmine_crm (>= 0) more than once.<br />You should probably keep only one of them.<br />Remove any duplicate entries and specify the gem only once.<br />While it's not a problem now, it could cause errors if you change the version of one of them later.<br />Bundle complete! 43 Gemfile dependencies, 105 gems now installed.<br />Bundled gems are installed into `./vendor/bundle`</p>
<p>This message scares me... I can’t understand where the duplicate gems come from and how to solve this issue.</p>
<p>I would be grateful to anyone who can help.</p> Help: Removing plugins in Redmin 5.1.1https://www.redmine.org/boards/2/topics/693162024-01-18T18:42:11ZEvgeniy Lev
<p>For some reason the proposed command for collecting information does not work (((<br />redmine@xxx:~/config$ cd /opt/redmine/<br />redmine@xxx:~$ RAILS_ENV=production script/about<br />bash: script/about: No such file or directory</p>
<p>Environment:<br /> Redmine version 5.1.1.stable<br /> Ruby version 3.0.2-p107 (2021-07-07) [x86_64-linux-gnu]<br /> Rails version 6.1.7.6<br /> Environment production<br /> Database adapter PostgreSQL<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />Redmine settings:<br /> Redmine theme Default<br />SCM:<br /> Filesystem <br />Redmine plugins:</p>
<p>Please explain to a newbie why in Redmin 5.0.0 - 5.0.7 the command was used to remove the plugin:<br />rake redmine:plugins:migrate NAME=plugin name VERSION=0 RAILS_ENV=production</p>
<p>and in Redmin 5.1.1 you need to use:<br />bundle exec rake redmine:plugins:migrate NAME=plugin name VERSION=0 RAILS_ENV=production</p>
<p>If I use the old command, I get:<br />redmine@xxx :~$ rake redmine:plugins:migrate NAME=plugin name VERSION=0 RAILS_ENV=production<br />rake aborted!<br />Gem::LoadError: You have already activated rake 13.0.6, but your Gemfile requires rake 13.1.0. Prepending `bundle exec` to your command may solve this.<br />/var/lib/gems/3.0.0/gems/bundler-2.5.4/lib/bundler/runtime.rb:304:in `check_for_activated_spec!'<br />/var/lib/gems/3.0.0/gems/bundler-2.5.4/lib/bundler/runtime.rb:25:in `block in setup'<br />/var/lib/gems/3.0.0/gems/bundler-2.5.4/lib/bundler/spec_set.rb:191:in `each'<br />/var/lib/gems/3.0.0/gems/bundler-2.5.4/lib/bundler/spec_set.rb:191:in `each'<br />/var/lib/gems/3.0.0/gems/bundler-2.5.4/lib/bundler/runtime.rb:24:in `map'<br />/var/lib/gems/3.0.0/gems/bundler-2.5.4/lib/bundler/runtime.rb:24:in `setup'<br />/var/lib/gems/3.0.0/gems/bundler-2.5.4/lib/bundler.rb:162:in `setup'<br />/var/lib/gems/3.0.0/gems/bundler-2.5.4/lib/bundler/setup.rb:10:in `block in <top (required)>'<br />/var/lib/gems/3.0.0/gems/bundler-2.5.4/lib/bundler/ui/shell.rb:159:in `with_level'<br />/var/lib/gems/3.0.0/gems/bundler-2.5.4/lib/bundler/ui/shell.rb:111:in `silence'<br />/var/lib/gems/3.0.0/gems/bundler-2.5.4/lib/bundler/setup.rb:10:in `<top (required)>'<br /><internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'<br /><internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'<br />/opt/redmine/config/boot.rb:6:in `<top (required)>'<br /><internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'<br /><internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'<br />/opt/redmine/config/application.rb:3:in `<top (required)>'<br /><internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'<br /><internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'<br />/opt/redmine/Rakefile:5:in `<top (required)>'<br />/usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'<br />(See full trace by running task with)</p>
<p>Question 1<br />Is this a feature of Redmine 5.1.1 or did I do something wrong and that’s the only reason I need to remove plugins using the command:<br />bundle exec rake redmine:plugins:migrate NAME=plugin name VERSION=0 RAILS_ENV=production</p>
<p>Question 2<br />rake aborted!<br />Gem::LoadError: You have already activated rake 13.0.6, but your Gemfile requires rake 13.1.0. Prepending `bundle exec` to your command may solve this.</p>
<p>Indicates that there are two versions of rake 13.0.6 and 13.1.0 but where did they get two from??? The entire installation was carried out using an algorithm that had been previously tested many times and this problem did not arise on previous versions of Redmin...<br />I would be very grateful for clarification and assistance in this matter.</p> Help: RE: Is updating existing issues via CSV import when their ID's are the same?https://www.redmine.org/boards/2/topics/69299?r=69314#message-693142024-01-17T18:22:09ZHolger Just
<p>I'm not sure what the Jira bit is about...</p>
<p>The Redmine importers do not support updating existing issues (or other imported objects). The CSV import always creates new objects and does care about any existing data. If you want to udpate existing issues, you can use the REST API instead, see <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Rest_api">Rest_api</a> for details as well as <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Rest_Issues">Rest_Issues</a> for a description of the issues API.</p> Help: RE: Is updating existing issues via CSV import when their ID's are the same?https://www.redmine.org/boards/2/topics/69299?r=69312#message-693122024-01-17T10:25:40ZK S
<p>Is it in Jira? I am asking in Redmine 5</p> Help: RE: Is updating existing issues via CSV import when their ID's are the same?https://www.redmine.org/boards/2/topics/69299?r=69311#message-693112024-01-17T06:31:34ZDorothy Valverde
<p>Yes, it is possible to update existing issues via CSV import in Jira. To update fields in existing issues, the required fields are issueKey and Summary plus the fields you want to update. To update existing issues, your CSV file needs to contain a column that maps to Issue Key. If an issue exists for a given key, it will be updated. Your CSV file will also require the summary field.</p>
<p>To avoid duplicating the issue, make sure that the Issue Key field in your CSV file matches the Issue Key of the issue you want to update. If the Issue Key in your CSV file matches the Issue Key of an existing issue, that issue will be updated with the new information. If the Issue Key in your CSV file does not match the Issue Key of any existing issues, a new issue will be created.</p> Help: RE: Revision history not displayed in issueshttps://www.redmine.org/boards/2/topics/69306?r=69308#message-693082024-01-16T16:59:34ZDmitry Beloglazov
<p>Removed the repository and added it back. Now it works.</p> Help: RE: Revision history not displayed in issueshttps://www.redmine.org/boards/2/topics/69306?r=69307#message-693072024-01-16T16:36:49ZDmitry Beloglazov
<p>Also, I should probably add that in "Repository" overview I can see that there were some relatively recent changes. But it doesn't show the revision hash for them (first 8 rows on the screenshot).</p>
<p><img src="https://www.redmine.org/attachments/download/31811/clipboard-202401162336-qi2vw.png" alt="" /></p> Help: [SOLVED] Revision history not displayed in issueshttps://www.redmine.org/boards/2/topics/693062024-01-16T16:34:09ZDmitry Beloglazov
<p>In the past I configured Redmine to show the revision history on issue pages. The team uses "refs" keyword in the commit messages.<br />It worked to some point, but then it stopped working - don't remember when exactly. Nothing changed except that we updated Redmine several times (currently we use 5.0.5.stable).<br />I think it was working in version 3.x, then we haven't been actively using this feature.</p>
<p>What could be the reason of the problem? How can I debug this?</p>
<p>Note: we work in multiple git branches.</p> Help: RE: When you click on the file attached to a task, this appears 404. The page you are tryin...https://www.redmine.org/boards/2/topics/69301?r=69305#message-693052024-01-13T10:57:03ZDmitry B
<p>192.168.0.186 - - [13/Jan/2024:15:53:21 +0500] "GET /redmine/projects/itredmine/search?utf8=%E2%9C%93&issues=1&q=382782 HTTP/1.1" 302 120<br />192.168.0.186 - - [13/Jan/2024:15:53:21 +0500] "GET /redmine/issues/382782 HTTP/1.1" 200 14007<br />192.168.0.186 - - [13/Jan/2024:15:53:23 +0500] "GET /redmine/attachments/download/441154/1791%D1%82.pdf HTTP/1.1" 404 9043<br />192.168.0.186 - - [13/Jan/2024:15:53:24 +0500] "GET /redmine/images/exclamation.png HTTP/1.1" 200 648<br />192.168.0.186 - - [13/Jan/2024:15:53:26 +0500] "GET /redmine/attachments/download/441154/1791%D1%82.pdf HTTP/1.1" 404 9043<br />192.168.0.186 - - [13/Jan/2024:15:53:30 +0500] "GET /redmine/attachments/download/441154/1791%D1%82.pdf HTTP/1.1" 404 9043<br />192.168.0.186 - - [13/Jan/2024:15:53:30 +0500] "GET /redmine/stylesheets/responsive.css HTTP/1.1" 200 4466<br />192.168.0.186 - - [13/Jan/2024:15:53:30 +0500] "GET /redmine/stylesheets/application.css HTTP/1.1" 200 11964<br />192.168.0.186 - - [13/Jan/2024:15:53:30 +0500] "GET /redmine/plugin_assets/redmine_issue_templates/stylesheets/issue_templates.css HTTP/1.1" 200 1589<br />192.168.0.186 - - [13/Jan/2024:15:53:30 +0500] "GET /redmine/stylesheets/jquery/jquery-ui-1.11.0.css HTTP/1.1" 200 5481<br />192.168.0.186 - - [13/Jan/2024:15:53:30 +0500] "GET /redmine/plugin_assets/redmine_custom_workflows/stylesheets/style.css HTTP/1.1" 200 358<br />192.168.0.186 - - [13/Jan/2024:15:53:30 +0500] "GET /redmine/javascripts/application.js HTTP/1.1" 200 5027<br />192.168.0.186 - - [13/Jan/2024:15:53:30 +0500] "GET /redmine/javascripts/responsive.js HTTP/1.1" 200 678<br />192.168.0.186 - - [13/Jan/2024:15:53:30 +0500] "GET /redmine/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js HTTP/1.1" 200 98872<br />192.168.0.186 - - [13/Jan/2024:15:53:30 +0500] "GET /redmine/images/exclamation.png HTTP/1.1" 200 648<br />192.168.0.186 - - [13/Jan/2024:15:53:30 +0500] "GET /redmine/favicon.ico HTTP/1.1" 200 7886<br />192.168.0.186 - - [13/Jan/2024:15:53:31 +0500] "GET /redmine/attachments/download/441154/1791%D1%82.pdf HTTP/1.1" 404 9043<br />192.168.0.186 - - [13/Jan/2024:15:53:31 +0500] "GET /redmine/javascripts/responsive.js HTTP/1.1" 200 678<br />192.168.0.186 - - [13/Jan/2024:15:53:31 +0500] "GET /redmine/stylesheets/application.css HTTP/1.1" 200 11964<br />192.168.0.186 - - [13/Jan/2024:15:53:31 +0500] "GET /redmine/stylesheets/responsive.css HTTP/1.1" 200 4466<br />192.168.0.186 - - [13/Jan/2024:15:53:31 +0500] "GET /redmine/stylesheets/jquery/jquery-ui-1.11.0.css HTTP/1.1" 200 5514<br />192.168.0.186 - - [13/Jan/2024:15:53:31 +0500] "GET /redmine/javascripts/application.js HTTP/1.1" 200 5027<br />192.168.0.186 - - [13/Jan/2024:15:53:31 +0500] "GET /redmine/plugin_assets/redmine_issue_templates/stylesheets/issue_templates.css HTTP/1.1" 200 1589<br />192.168.0.186 - - [13/Jan/2024:15:53:31 +0500] "GET /redmine/plugin_assets/redmine_custom_workflows/stylesheets/style.css HTTP/1.1" 200 358<br />192.168.0.186 - - [13/Jan/2024:15:53:31 +0500] "GET /redmine/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js HTTP/1.1" 200 98541<br />192.168.0.186 - - [13/Jan/2024:15:53:31 +0500] "GET /redmine/images/exclamation.png HTTP/1.1" 200 648<br />192.168.0.186 - - [13/Jan/2024:15:53:31 +0500] "GET /redmine/favicon.ico HTTP/1.1" 200 7886<br />192.168.0.186 - - [13/Jan/2024:15:53:32 +0500] "GET /redmine/attachments/download/441154/1791%D1%82.pdf HTTP/1.1" 404 9043<br />192.168.0.186 - - [13/Jan/2024:15:53:32 +0500] "GET /redmine/javascripts/responsive.js HTTP/1.1" 200 678<br />192.168.0.186 - - [13/Jan/2024:15:53:32 +0500] "GET /redmine/stylesheets/application.css HTTP/1.1" 200 11964<br />192.168.0.186 - - [13/Jan/2024:15:53:32 +0500] "GET /redmine/javascripts/application.js HTTP/1.1" 200 5027<br />192.168.0.186 - - [13/Jan/2024:15:53:32 +0500] "GET /redmine/stylesheets/responsive.css HTTP/1.1" 200 4466<br />192.168.0.186 - - [13/Jan/2024:15:53:32 +0500] "GET /redmine/stylesheets/jquery/jquery-ui-1.11.0.css HTTP/1.1" 200 5514<br />192.168.0.186 - - [13/Jan/2024:15:53:32 +0500] "GET /redmine/plugin_assets/redmine_custom_workflows/stylesheets/style.css HTTP/1.1" 200 358<br />192.168.0.186 - - [13/Jan/2024:15:53:32 +0500] "GET /redmine/plugin_assets/redmine_issue_templates/stylesheets/issue_templates.css HTTP/1.1" 200 1589<br />192.168.0.186 - - [13/Jan/2024:15:53:32 +0500] "GET /redmine/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js HTTP/1.1" 200 98499<br />192.168.0.186 - - [13/Jan/2024:15:53:32 +0500] "GET /redmine/images/exclamation.png HTTP/1.1" 200 648<br />192.168.0.186 - - [13/Jan/2024:15:53:32 +0500] "GET /redmine/favicon.ico HTTP/1.1" 200 7886<br />192.168.0.186 - - [13/Jan/2024:15:53:33 +0500] "GET /redmine/attachments/download/441154/1791%D1%82.pdf HTTP/1.1" 404 9043<br />192.168.0.186 - - [13/Jan/2024:15:53:33 +0500] "GET /redmine/stylesheets/jquery/jquery-ui-1.11.0.css HTTP/1.1" 200 5481<br />192.168.0.186 - - [13/Jan/2024:15:53:33 +0500] "GET /redmine/stylesheets/responsive.css HTTP/1.1" 200 4490<br />192.168.0.186 - - [13/Jan/2024:15:53:33 +0500] "GET /redmine/javascripts/application.js HTTP/1.1" 200 5062<br />192.168.0.186 - - [13/Jan/2024:15:53:33 +0500] "GET /redmine/javascripts/responsive.js HTTP/1.1" 200 678<br />192.168.0.186 - - [13/Jan/2024:15:53:33 +0500] "GET /redmine/plugin_assets/redmine_custom_workflows/stylesheets/style.css HTTP/1.1" 200 358<br />192.168.0.186 - - [13/Jan/2024:15:53:33 +0500] "GET /redmine/stylesheets/application.css HTTP/1.1" 200 12020<br />192.168.0.186 - - [13/Jan/2024:15:53:33 +0500] "GET /redmine/plugin_assets/redmine_issue_templates/stylesheets/issue_templates.css HTTP/1.1" 200 1589<br />192.168.0.186 - - [13/Jan/2024:15:53:33 +0500] "GET /redmine/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js HTTP/1.1" 200 98526<br />192.168.0.186 - - [13/Jan/2024:15:53:33 +0500] "GET /redmine/images/exclamation.png HTTP/1.1" 200 648<br />192.168.0.186 - - [13/Jan/2024:15:53:33 +0500] "GET /redmine/favicon.ico HTTP/1.1" 200 7886</p>