Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. File Uploads Fail

File Uploads Fail

Added by Jay Lepore over 8 years ago

When I try to upload a file during the creation of a new Work Task it fails.

Instead I get a pink box with an exclamation point and the file does not appear.

See this video: https://youtu.be/QkJ6XPo_QH4

Also, when I try to upload a document in the Documents plugin and also in the Wiki, I get an Internal error. Not sure if related.

https://youtu.be/rPkyVsZpLhg

Note: In Administration \ System Settings \ General \ Attachment max. size is set very high 5000000 and well above my image size of 250KB so this is not the problem.

  • I am using a self-hosted openproject
  • Occurs for all attachment types
  • Installation of OpenProject done last month from latest version (on linux server) and otherwise functioning normally

Thanks.

Jay


Replies (1)

RE: File Uploads Fail - Added by Jay Lepore over 8 years ago

I have documented this solution:

File Uploads are handled via the plugin: Documents https://www.openproject.org/help/user-guides/documents/

If you view the contents of /etc/openproject/conf.d/other you will find ATTACHMENTS_STORAGE_PATH=“/var/db/openproject/files”

That folder needs to be both chmod 777 and chown www-data:www-data or file uploading will fail

I could find no documentation anywhere indicating this file storage location but found it hunting and pecking inside files

So this is resolved.

  • (1 - 1/1)
Loading...