Project

General

Profile

Actions

Bug #6882

closed

module DMSF

Added by MOUGINOT Baptiste about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
Brétel Foudil
Target version:
Start date:
04/16/2014
Due date:
% Done:

100%

Estimated time:

Description

lorsque j'essaie de charger un fichier, le chargement se fait puis il affiche :

"Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error."

Baptiste

Actions #1

Updated by Brétel Foudil about 10 years ago

  • Status changed from New to Assigned
  • Assigned To set to Brétel Foudil
Actions #2

Updated by Brétel Foudil about 10 years ago

  • Status changed from Assigned to In progress
  • Target version set to Upgrade Redmine 2.5.1
  • % Done changed from 0 to 50

I quick-fixed the issue.

For redmine admins: the temp dir was defined as /tmp. Thus, a unicorn instance would not find again the file uploaded into a local /tmp.
I created a shared $RAILS_ROOT/tmp/dmsf dir, and the temp dir is now this dir (hard-coded).
This needs to be coded correctly as a preference, and upstreamed. This is why I keep this issue inprogress.

See also https://code.google.com/p/redmine-dmsf/issues/detail?id=128

Actions #3

Updated by Brétel Foudil about 10 years ago

  • Status changed from In progress to Closed
  • % Done changed from 50 to 100

Fixed. The definitive fix is to set the default temp dir to the application's tmp/ dir (NFS shared).

Actions #4

Updated by Knödlseder Jürgen almost 10 years ago

Brétel Foudil wrote:

Fixed. The definitive fix is to set the default temp dir to the application's tmp/ dir (NFS shared).

Are you sure that this is fixed? I still get the same error when I try to upload a file to DMSF :(

Actions #5

Updated by Brétel Foudil almost 10 years ago

  • Status changed from Closed to Assigned

Thanks for reporting. For some reason, this doesn't work in production anymore. Working on it.

Actions #6

Updated by Brétel Foudil almost 10 years ago

  • Status changed from Assigned to Closed

Grrr... I didn't restart httpd workers properly. It's fixed now.

Actions

Also available in: Atom PDF