Skip to content

Error when trying to view server files #462

Description

@Hajsori

Current Behavior

It shows an error

Expected Behavior

It should show my files

Steps to Reproduce

  1. Click on your server
  2. Click on files

Panel Version

unknown (it says unknown)

Daemon Version

Custom build

Games and/or Images Affected

No response

Docker Image

No response

Error Logs

Microsoft.JSInterop.JSException: can't access property "addEventListener", dropArea is null
init/<@https://panel.hajsori.xyz/api/core/asset/FileManager/js/filemanager.js:128:17
init@https://panel.hajsori.xyz/api/core/asset/FileManager/js/filemanager.js:127:60
beginInvokeJSFromDotNet/s<@https://panel.hajsori.xyz/_framework/blazor.server.js:1:3244
beginInvokeJSFromDotNet@https://panel.hajsori.xyz/_framework/blazor.server.js:1:3201
_invokeClientMethod@https://panel.hajsori.xyz/_framework/blazor.server.js:1:61001
_processIncomingData@https://panel.hajsori.xyz/_framework/blazor.server.js:1:58476
Xt/this.connection.onreceive@https://panel.hajsori.xyz/_framework/blazor.server.js:1:52117
_poll@https://panel.hajsori.xyz/_framework/blazor.server.js:1:75280

at async ValueTask<TValue> Microsoft.JSInterop.JSRuntime.InvokeAsync<TValue>(long targetInstanceId, string identifier, object[] args)
at async ValueTask Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, string identifier, params object[] args)
at async Task MoonCore.Blazor.Extensions.JsRuntimeExtensions.InvokeVoidAsyncHandled(IJSRuntime jsRuntime, string function, params object[] parameter)
at async Task Moonlight.Features.FileManager.Services.FileManagerInteropService.InitDropzone(string id, string urlId) in /src/Moonlight/Features/FileManager/Services/FileManagerInteropService.cs:line 25
at async Task Moonlight.Features.FileManager.UI.Components.FileManager.OnAfterRenderAsync(bool firstRender) in /src/Moonlight/Features/FileManager/UI/Components/FileManager.razor:line 168
at async Task Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • 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.
  • 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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions