Skip to content

[bug]: Unable to upload files / attachements after upgrade v0.24.1 #6624

Open
@sivakrishnamattadev

Description

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

I recently upgraded my self-hosted Plane Community Edition to the latest version v24.1 and migrated the database to an external PostgreSQL instance. However, after the upgrade and migration, I am unable to upload attachments.

Issue Details:

  • I noticed errors in the console logs and network tab, specifically related to file uploads.
  • The upload requests seem to be going to HTTP instead of HTTPS.
  • I am using the default MinIO setup from Plane, with only the database migrated to an external PostgreSQL instance.

Troubleshooting Steps Taken:

  • I checked existing issues related to NGINX and upload configurations, but changes to NGINX are not reflecting.
  • Even after restarting Docker, the configurations seem to revert to the old values.
  • I suspect this issue might be due to Plane resetting configurations after the upgrade.

Request for Assistance:

  • Could you please confirm if this is a known issue after upgrading to v24.1?
  • Any guidance on fixing the upload URL redirecting to HTTP instead of HTTPS would be greatly appreciated.
  • Is there any additional configuration required for MinIO, NGINX, or Plane storage settings after migrating the database?

Looking forward to your support.

Steps to reproduce

  1. Go to Projects
  2. Click on any existing issue
  3. Go to add new comment
  4. try to add/paste one image
  5. Image will display in blur mode
  6. Image will not upload end up with console errors.
  7. Error Following:

Something went wrong
push.518.window.console.error @ 2364-8788a2017886c784.js:1
8521-8ba9b5bba2500f7f.js:1 Mixed Content: The page at 'https://abcxxx.com/amg/projects/6502cf55-fd6e-4a26-ad40-81f8c21f2ec2/issues/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://abcxxx.com/uploads'. This request has been blocked; the content must be served over HTTPS.
(anonymous) @ 8521-8ba9b5bba2500f7f.js:1
xhr @ 8521-8ba9b5bba2500f7f.js:1
es @ 8521-8ba9b5bba2500f7f.js:1
_request @ 8521-8ba9b5bba2500f7f.js:1
request @ 8521-8ba9b5bba2500f7f.js:1
(anonymous) @ 8521-8ba9b5bba2500f7f.js:1
(anonymous) @ 8521-8ba9b5bba2500f7f.js:1
post @ error-9eb3569ce6e56f54.js:1
uploadFile @ 2572-0879269fc9ed108d.js:1
(anonymous) @ 1692-f66e11ddf642f09c.js:1
Promise.then
uploadProjectAsset @ 1692-f66e11ddf642f09c.js:1
uploadCommentAsset @ 1692-f66e11ddf642f09c.js:1
uploadFile @ 1692-f66e11ddf642f09c.js:1
(anonymous) @ 4524-9b32e18f1e9c470b.js:1
(anonymous) @ 4524-9b32e18f1e9c470b.js:1
ew @ 4524-9b32e18f1e9c470b.js:1
(anonymous) @ 4524-9b32e18f1e9c470b.js:1
(anonymous) @ 2f7efde8-fcebd67c055a7f47.js:1
(anonymous) @ 4524-9b32e18f1e9c470b.js:1
(anonymous) @ 4524-9b32e18f1e9c470b.js:1
ew @ 4524-9b32e18f1e9c470b.js:1
(anonymous) @ 4524-9b32e18f1e9c470b.js:1
(anonymous) @ 4524-9b32e18f1e9c470b.js:1
aW @ 618f8807-b5255caf8e399037.js:1
oe @ 618f8807-b5255caf8e399037.js:1
-- so many same lines --
-- so many same lines --
ol @ 618f8807-b5255caf8e399037.js:1
1692-f66e11ddf642f09c.js:1 Error in uploading comment asset: undefined
4524-9b32e18f1e9c470b.js:1 Error: Asset upload failed. Please try again later.
at Object.uploadCommentAsset (1692-f66e11ddf642f09c.js:1:418976)
at async uploadFile (1692-f66e11ddf642f09c.js:1:448319)

Environment

Production

Browser

Other

Variant

Self-hosted

Version

v0.24.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

🐛bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions