Redmine 500 Внутренняя ошибка

5141
Maciej Cygan

Внутренняя ошибка 500 выдается при попытке навигации через Redmine. Я погуглил ошибку и нашел некоторые подсказки, но никто не помог.

Я следовал этому руководству по установке Redmine. Вы можете найти это ЗДЕСЬ

Ошибка выглядит так:

Внутренняя ошибка

Произошла ошибка на странице, к которой вы пытались получить доступ. Если проблемы не устранены, обратитесь за помощью к администратору Redmine.

Если вы являетесь администратором Redmine, проверьте файлы журналов для получения подробной информации об ошибке.

назад

3

1 ответ на вопрос

2
Maciej Cygan

Solved by doing this :

Step 8 - File system permissions¶

NB: Windows users can skip this section.

The user account running the application must have write permission on the following subdirectories:

files (storage of attachments) log (application log file production.log) tmp and tmp/pdf (create these ones if not present, used to generate PDF documents among other things) public/plugin_assets (assets of plugins) E.g., assuming you run the application with a redmine user account:

mkdir -p tmp tmp/pdf public/plugin_assets sudo chown -R redmine:redmine files log tmp public/plugin_assets sudo chmod -R 755 files log tmp public/plugin_assets Step 9 - Test the installation Test the installation by running WEBrick web server:

with Redmine 1.4.x: ruby script/server webrick -e production with Redmine 2.x: ruby script/rails server webrick -e production Once WEBrick has started, point your browser to http://:3000/. You should now see the application welcome page.

Note: Webrick is not suitable for production use, please only use webrick for testing that the installation up to this point is functional. Use one of the many other guides in this wiki to setup redmine to use either Passenger (aka mod_rails), FCGI or a Rack server (Unicorn, Thin, Puma, hellip;) to serve up your redmine.