panel icon indicating copy to clipboard operation
panel copied to clipboard

Unable to upload sqlite .db files using web file manager

Open jcsnider opened this issue 3 years ago • 5 comments

Current Behavior

When uploading a .db (sqlite database file) the panel returns a Folder uploads are not supported at this time. error.

Files with other extensions work fine.

Expected Behavior

Files with a .db file extension should upload like any other file.

Steps to Reproduce

Attempt to upload a .db file, the above error should occur. If you rename the file to have a different extension (ie jpg) then the upload will succeed,

A workaround for now is that after uploading with a different extension you can rename the file within the panel to restore the extension.

Panel Version

1.10.0

Wings Version

1.7.0

Games and/or Eggs Affected

NA

Docker Image

NA

Error Logs

Wings: https://ptero.co/gigifovihu
Panel: NA -- Panel has not been creating logs since Jan 2021, probably an issue with my docker configuration/directory permissions, will attempt to resolve and append.

Is there an existing issue for this?

  • [X] I have searched the existing issues before opening this issue.
  • [X] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • [X] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

jcsnider avatar Jul 25 '22 01:07 jcsnider

same issue here

james121op avatar Jul 25 '22 01:07 james121op

Confirmed since 1.10.0, the issue its here https://github.com/pterodactyl/panel/blob/1cfa4100adbd51102fc1afdbc581423fd5582fca/resources/scripts/components/server/files/UploadButton.tsx#L75 where type not handle for all type of files.. this also happen with many other file types..

Doc94 avatar Jul 25 '22 04:07 Doc94

when will this be fixed.

AlexTheGoat69 avatar Aug 18 '22 00:08 AlexTheGoat69

Use SFTP as a workaround

GeekCornerGH avatar Aug 18 '22 06:08 GeekCornerGH

Yep, happened to me too since the last panel update!

Rajdave69 avatar Aug 20 '22 04:08 Rajdave69

Currently having this issue with a file named "r.0.0.mca"

TheRealMothebad avatar Dec 03 '22 06:12 TheRealMothebad

Currently having this issue with a file named "r.0.0.mca"

This was fixed but not already released.

Doc94 avatar Dec 03 '22 12:12 Doc94

Currently having this issue with a file named "r.0.0.mca"

This was fixed but not already released.

Makes sense, thank you!

TheRealMothebad avatar Dec 04 '22 16:12 TheRealMothebad

Currently having this issue with a file named "r.0.0.mca"

same

DenishProfile avatar Dec 31 '23 09:12 DenishProfile