プロジェクト

全般

プロフィール

Vote #70340

完了

Attachments/Plugin assets directory writable errors

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Plugin API_20
対象バージョン:
開始日:
2011/07/14
期日:
進捗率:

0%

予定工数:
category_id:
20
version_id:
88
issue_org_id:
8817
author_id:
8471
assigned_to_id:
1
comments:
11
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

These errors are a bit inscrutable because they don't give the actual path to the directory in question. I found "assets" subdirectories in many of the plugin's own directories, all of which were writable, so I didn't know what to make of the message.

Please change the messages to, e.g.,

"..../public/plugin_assets/" writable


journals

Agreed, this is pretty confusing for a new Redmine user. The messages should be much more specific about what directories aren't accessible.

Also, in my case its because the directories don't appear to exist (though I can't be certain, since I'm not 100% what they're supposed to BE). It would be nice if Redmine could identify this case differently than a permissions issue -- i.e. "The ./public/plugin_assets/ directory does not exist".
--------------------------------------------------------------------------------
Agree. I don't have any plugins, so @<redmine>/public/plugin_assets@ didn't exist. Creating this directory and making it writeable by redmine fixed the error message.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Think it should be bundled indeed since it is not automatically created?
--------------------------------------------------------------------------------
Anthony Cartmell wrote:
> Agree. I don't have any plugins, so @<redmine>/public/plugin_assets@ didn't exist. Creating this directory and making it writeable by redmine fixed the error message.
Correct path is: @<redmine>/public/plugin_assets/

Work on Redmine 2.0.3 - tested 1 mins ago.
--------------------------------------------------------------------------------
For anyone else that ran into this issues, this worked for me:

sudo nano /etc/apache2/mods-available/passenger.conf

and add the following line:

PassengerDefaultUser www-data

Passenger runs as nobody by default so changing it to www-data worked for me
--------------------------------------------------------------------------------
Anthony Cartmell wrote:
> Agree. I don't have any plugins, so @<redmine>/public/plugin_assets@ didn't exist. Creating this directory and making it writeable by redmine fixed the error message.

It is part of Step8, so long as new users are reading the instructions... But it also mentions tmp & tmp/pdf which already existed for me using the git repo.

New install of v2.3.1 without plug-ins. Would it be possible to create this directory by default? and/or provide a clearer message on the information page.
--------------------------------------------------------------------------------
> New install of v2.3.1 without plug-ins. Would it be possible to create this directory by default? and/or provide a clearer message on the information page.

redmine 2.6 the same here
--------------------------------------------------------------------------------
Fixed, @public/plugin_assets@ is now present out of the box and the admin/info now displays the path to this directory.
--------------------------------------------------------------------------------
Merged.
--------------------------------------------------------------------------------

> sudo nano /etc/apache2/mods-available/passenger.conf
>
> and add the following line:
>
> PassengerDefaultUser www-data

I confirm that this worked for me on Ubuntu14.10 with libapache2-mod-passenger installed.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリPlugin API_20 にセット
  • 対象バージョン2.6.1_88 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0