Skip to content

[BUG] Container Crash on backup Restore #139

@joaquincabrerasimoes

Description

@joaquincabrerasimoes

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Whenever I try to restore a backup from a file I have in my PC the container crashes,

Expected Behavior

That it would restore my backup.

Steps To Reproduce

The backup was made in the mongoless versión 8 of the controller, it crashes in the instant It uploads the file to the controller and I click on the "Restore" button. And after a couple of seconds it kicks me out and I have to re log back in.
And I already tried both ways, to restore backup on the setup wizard and also to create a new server configuration and then restore it later. And with both methods I get the same error message

Image
Image

Environment

- OS: Ubuntu 22.04.3
- How docker service was installed: apt-get

CPU architecture

x86-64

Docker creation

version: "2.1"
services:
  UnifiController:
    image: lscr.io/linuxserver/unifi-network-application:latest
    container_name: UnifiController
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=GMT-3
      - MEM_LIMIT=2048 #optional
      - MEM_STARTUP=2048 #optional
      - MONGO_USER=unifi
      - MONGO_PASS=****
      - MONGO_HOST=192.168.69.206
      - MONGO_PORT=27017
      - MONGO_DBNAME=unifi
      - MONGO_AUTHSOURCE=admin
    volumes:
      - /home/administrator/UnifiController:/config
    ports:
      - 8080:8080
      - 8443:8443
      - 3478:3478/udp
      - 10001:10001/udp
      - 6789:6789 #optional
    restart: unless-stopped

Container logs

[migrations] started

[migrations] no migrations found

───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗

      ██║     ██╔════╝██║██╔═══██╗

      ██║     ███████╗██║██║   ██║

      ██║     ╚════██║██║██║   ██║

      ███████╗███████║██║╚██████╔╝

      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io

───────────────────────────────────────

To support LSIO projects visit:

https://www.linuxserver.io/donate/

───────────────────────────────────────

GID/UID

───────────────────────────────────────

User UID:    1000

User GID:    1000

───────────────────────────────────────

Linuxserver.io version: 9.0.114-ls83

Build-date: 2025-03-11T17:33:44+00:00

───────────────────────────────────────

    

[custom-init] No custom files found, skipping...

[ls.io-init] done.

org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: destroy called

Exception in thread "Thread-10" java.lang.IllegalStateException: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebApplicationContext@1b2092fe has been closed already

	at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1227)

	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1260)

	at com.ubnt.service.Object.Ö00000(Unknown Source)

	at com.ubnt.ace.Launcher.Ò00000(Unknown Source)

	at java.base/java.lang.Thread.run(Thread.java:840)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions