Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload image even setting the privilege #15170

Open
1 task
LenKiMo opened this issue Dec 23, 2024 · 0 comments
Open
1 task

Unable to upload image even setting the privilege #15170

LenKiMo opened this issue Dec 23, 2024 · 0 comments
Labels
⚠️bug? This might be a bug

Comments

@LenKiMo
Copy link

LenKiMo commented Dec 23, 2024

💡 Summary

After installing Misskey from the Docker Hub image using the official installation script, images or other media files cannot be uploaded, even if the command granted permission is executed.

🥰 Expected Behavior

After the chown-hR 991.991 ./files command is executed, the Misskey instance can upload images normally.

🤬 Actual Behavior

The image cannot be uploaded and the following error message is returned:

Internal error occurred. Please contact us if the error persists.
INTERNAL_ERROR
5d37dbcb-891e-41ca-a3d6-e690c97775ac

Result of the ls -gd files command, running in /home/misskey/misskey/:

drwxr-xr-x 2 polkitd polkitd 4096 Dec 22 10:33 files

Because I did not find any description of the error log location in the documentation, I am unable to provide background logs for the time being.

In addition, I found that the installation script would get stuck in the following loop.

INFO 1  [queue check-expired-mutings]   Checking expired mutings...
DONE 1  [queue check-expired-mutings]   All expired mutings checked.
INFO 1  [queue check-expired-mutings]   Checking expired mutings...
DONE 1  [queue check-expired-mutings]   All expired mutings checked.
INFO 1  [queue check-moderators-activity]       start.
INFO 1  [queue check-moderators-activity]       is already invitation only.
DONE 1  [queue check-moderators-activity]       finish.
INFO 1  [queue check-expired-mutings]   Checking expired mutings...
DONE 1  [queue check-expired-mutings]   All expired mutings checked.
INFO *  [chart] federation: Write skipped
INFO *  [chart] notes: Write skipped
INFO *  [chart] users: Write skipped
INFO *  [chart] activeUsers: Write skipped
INFO *  [chart] instance: Write skipped
INFO *  [chart] perUserNotes: Write skipped
INFO *  [chart] perUserPv: Write skipped
INFO *  [chart] drive: Write skipped
INFO *  [chart] perUserReaction: Write skipped
INFO *  [chart] perUserFollowing: Write skipped
INFO *  [chart] perUserDrive: Write skipped
INFO *  [chart] apRequest: Write skipped
INFO 1  [chart] federation: Write skipped
INFO 1  [chart] notes: Write skipped
INFO 1  [chart] users: Write skipped
INFO 1  [chart] activeUsers: Write skipped
INFO 1  [chart] instance: Write skipped
INFO 1  [chart] perUserNotes: Write skipped
INFO 1  [chart] perUserPv: Write skipped
INFO 1  [chart] drive: Write skipped
INFO 1  [chart] perUserReaction: Write skipped
INFO 1  [chart] perUserFollowing: Write skipped
INFO 1  [chart] perUserDrive: Write skipped
INFO 1  [chart] apRequest: Write skipped
INFO 1  [queue check-expired-mutings]   Checking expired mutings...
DONE 1  [queue check-expired-mutings]   All expired mutings checked.
INFO 1  [queue check-expired-mutings]   Checking expired mutings...
DONE 1  [queue check-expired-mutings]   All expired mutings checked.
INFO 1  [queue check-expired-mutings]   Checking expired mutings...
DONE 1  [queue check-expired-mutings]   All expired mutings checked.
INFO 1  [queue check-expired-mutings]   Checking expired mutings...
DONE 1  [queue check-expired-mutings]   All expired mutings checked.

📝 Steps to Reproduce

  1. Use the installation script to install the Misskey instance in Docker form
  2. Run the command
  3. Ensure that the permissions on the files folder have been reassigned
  4. Log in to the instance and attempt to upload the image
  5. Failed and received an error

💻 Frontend Environment

* Model and OS of the device(s): Windows 11 Pro
* Browser: Brave 1.73.104 Chromium: 131.0.6778.204
* Server URL:
* Misskey: 2024.11

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service: Docker by Misskey install shell script v3.0.0
* Misskey: 2024.11.0
* Node: Seems not installed
* PostgreSQL: PostgreSQL 15.10 (Ubuntu 15.10-1.pgdg24.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, 64-bit
* Redis: 7.4.1
* OS and Architecture: Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-51-generic x86_64)

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️bug? This might be a bug
Projects
Development

No branches or pull requests

1 participant