MinIO - Not able to start the application

Hi all, first, thank for this very usefull RockStor OS, it help me a lot for many years.

I have a new installation to backup all of my data and I have a new requierment for backing up on a S3 object Storage. Yeah I found MinIo available in the Rock-Ons add-on. After I have installed the application, I never be able to access the WebUi. I found later that my installation is to old and the error I have is

Fatal glibc error: CPU does not support x86-64-v2

So I have try to create my own Rock-Ons but now I have another error, can someone please help me there?

Error:

minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: ERRO: Calculating checksum failed: open minio: no such file or directory
minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: FATAL Unable to start listening on console port: address 9001: missing port in address

Here is my json file I have created from minio.json (By the way, thanks a lot MikeMcPherson)

{
    "MinIOcpuV1": {
        "description": "MinIO is an S3-compatible object storage server.<p>Based on the official docker image: <a href='https://hub.docker.com/r/minio/minio' target='_blank'>https://hub.docker.com/r/minio/minio</a>, available for amd64 and>
        "version": "1.2",
        "website": "https://minio.io",
        "more_info": "This Rock-on uses the official MinIO Docker image to implement a single MinIO instance with a single object storage share, suitable for use on a private network.  If your connections traverse a network you do not cont>
        "ui": {
            "https": false,
            "slug": ""
        },
        "volume_add_support": false,
        "containers": {
            "MinIOcpuV1": {
                "image": "minio/minio",
                "tag": "RELEASE.2024-09-22T00-33-43Z-cpuv1",
                "launch_order": 1,
                "ports": {
                    "9000": {
                        "description": "Port for API access, default 9000",
                        "host_default": 9000,
                        "label": "MinIO API Port",
                        "ui": false
                    },
                    "9001": {
                        "description": "Port for Admin Portal access, default 9001",
                        "host_default": 9001,
                        "label": "MinIO Admin Portal Port",
                        "ui": true
                    }
                },
                "volumes": {
                    "/data": {
                        "description": "Choose a share for MinIO object storage",
                        "label": "MinIO Object Storage"
                    }
                },
                "cmd_arguments": [
                    [ "server" , "/data" ]
                 ],
                "environment": {
                    "MINIO_ROOT_USER": {
                        "description": "MinIO Administrator Username, 3 to 128 alphanumeric characters",
                        "label": "MinIO Admin User"
                    },
                    "MINIO_ROOT_PASSWORD": {
                        "description": "MinIO Administrator Password, 8 to 128 alphanumeric characters",
                        "label": "MinIO Admin Password"
                    },
                    "MINIO_CONSOLE_ADDRESS": {
                        "description": "MinIO Console Address, for example, \":9001\".  Must be the same port as \"MinIO Admin Portal Port\".",
"label": "MinIO Console Address"
                    }
                }
            }
        }
    }
}

I have try to search log but never find any file that can help me understand what this error is.

Thanks for helping me out.

@westh welcome to the Rockstor community.

Did you try the docker logs MinIOcpuV1 on the command line to see whether it generates any additional logs during the startup of the container? Or are the errors you listed from there (vs. from the rockstor.log file)?

@Hooverdan , here is the information

docker logs MinIOcpuV1
##-###-###:~ # docker logs MinIOcpuV1
ERRO: Calculating checksum failed: open minio: no such file or directory
FATAL Unable to start listening on console port: address 9001: missing port in address
ERRO: Calculating checksum failed: open minio: no such file or directory
FATAL Unable to start listening on console port: address 9001: missing port in address
ERRO: Calculating checksum failed: open minio: no such file or directory
FATAL Unable to start listening on console port: address 9001: missing port in address
ERRO: Calculating checksum failed: open minio: no such file or directory
FATAL Unable to start listening on console port: address 9001: missing port in address
ERRO: Calculating checksum failed: open minio: no such file or directory
FATAL Unable to start listening on console port: address 9001: missing port in address

Log from rockstor.log

File "/opt/rockstor/src/rockstor/storageadmin/views/rockon.py", line 236, in _create_update_meta
    handle_exception(Exception(e_msg), self.request)
  File "/opt/rockstor/src/rockstor/storageadmin/util.py", line 47, in handle_exception
    raise RockStorAPIException(
storageadmin.exceptions.RockStorAPIException: ['Cannot change image of the container (MinIO) as it belongs to an installed Rock-on (MinIO). Uninstall it first and try again.', 'NoneType: None\n']
[01/Oct/2024 08:38:58] ERROR [storageadmin.util:45] Exception: Errors occurred while processing updates for the following Rock-ons (MinIO: ['Cannot change image of the container (MinIO) as it belongs to an installed Rock-on (MinIO). Uninstall it first and try again.', 'NoneType: None\n']).
NoneType: None
[01/Oct/2024 08:39:23] INFO [storageadmin.tasks:56] Now executing Huey task [stop], id: 2f311176-d4aa-4208-8f08-6e49f7aeb9a1.
[01/Oct/2024 08:39:23] INFO [storageadmin.tasks:64] Task [stop], id: 2f311176-d4aa-4208-8f08-6e49f7aeb9a1 completed OK
[01/Oct/2024 08:39:56] INFO [storageadmin.tasks:56] Now executing Huey task [uninstall], id: 7ab09abb-ba01-4896-b3b3-1f5d02d53b76.
[01/Oct/2024 08:39:56] INFO [storageadmin.tasks:64] Task [uninstall], id: 7ab09abb-ba01-4896-b3b3-1f5d02d53b76 completed OK
[01/Oct/2024 08:40:18] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 7.97 seconds.
[01/Oct/2024 08:44:09] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 7.60 seconds.
[01/Oct/2024 08:46:23] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 8.12 seconds.
[01/Oct/2024 08:46:27] ERROR [storageadmin.util:45] Exception: Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.
NoneType: None
[01/Oct/2024 08:46:27] ERROR [storageadmin.views.rockon:143] ['Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.', 'NoneType: None\n']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon.py", line 140, in post
    self._create_update_meta(r, rockons[r])
  File "/usr/lib64/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon.py", line 226, in _create_update_meta
    handle_exception(Exception(e_msg), self.request)
  File "/opt/rockstor/src/rockstor/storageadmin/util.py", line 47, in handle_exception
    raise RockStorAPIException(
storageadmin.exceptions.RockStorAPIException: ['Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.', 'NoneType: None\n']
[01/Oct/2024 08:46:27] ERROR [storageadmin.util:45] Exception: Errors occurred while processing updates for the following Rock-ons (MinIOcpuV1: ['Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.', 'NoneType: None\n']).
NoneType: None
[01/Oct/2024 08:50:02] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 7.98 seconds.
[01/Oct/2024 08:50:05] ERROR [storageadmin.util:45] Exception: Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.
NoneType: None
[01/Oct/2024 08:50:05] ERROR [storageadmin.views.rockon:143] ['Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.', 'NoneType: None\n']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon.py", line 140, in post
    self._create_update_meta(r, rockons[r])
  File "/usr/lib64/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon.py", line 226, in _create_update_meta
    handle_exception(Exception(e_msg), self.request)
  File "/opt/rockstor/src/rockstor/storageadmin/util.py", line 47, in handle_exception
    raise RockStorAPIException(
storageadmin.exceptions.RockStorAPIException: ['Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.', 'NoneType: None\n']
[01/Oct/2024 08:50:05] ERROR [storageadmin.util:45] Exception: Errors occurred while processing updates for the following Rock-ons (MinIOcpuV1: ['Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.', 'NoneType: None\n']).
NoneType: None
[01/Oct/2024 08:51:53] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 7.81 seconds.
[01/Oct/2024 08:51:56] ERROR [storageadmin.util:45] Exception: Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.
NoneType: None
[01/Oct/2024 08:51:56] ERROR [storageadmin.views.rockon:143] ['Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.', 'NoneType: None\n']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon.py", line 140, in post
    self._create_update_meta(r, rockons[r])
  File "/usr/lib64/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon.py", line 226, in _create_update_meta
    handle_exception(Exception(e_msg), self.request)
  File "/opt/rockstor/src/rockstor/storageadmin/util.py", line 47, in handle_exception
    raise RockStorAPIException(
storageadmin.exceptions.RockStorAPIException: ['Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.', 'NoneType: None\n']
[01/Oct/2024 08:51:56] ERROR [storageadmin.util:45] Exception: Errors occurred while processing updates for the following Rock-ons (MinIOcpuV1: ['Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.', 'NoneType: None\n']).
NoneType: None
[01/Oct/2024 08:54:25] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 9.04 seconds.
[01/Oct/2024 08:55:42] INFO [storageadmin.tasks:56] Now executing Huey task [install], id: 1a408a0a-574d-44ff-9cb0-eadb7af63d45.
[01/Oct/2024 08:55:43] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'stop', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 08:55:43] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rm', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 08:55:43] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'pull', 'minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest']. output: [''] error: ['invalid reference format', '']
[01/Oct/2024 08:55:43] ERROR [storageadmin.views.rockon_helpers:207] Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 204, in install
    globals().get("{}_install".format(rockon.name.lower()), generic_install)(rockon)
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 372, in generic_install
    run_command([DOCKER, "pull", image_name_plus_tag], log=True)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 289, in run_command
    raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
[01/Oct/2024 08:55:43] INFO [storageadmin.tasks:64] Task [install], id: 1a408a0a-574d-44ff-9cb0-eadb7af63d45 completed OK
[01/Oct/2024 08:56:38] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 8.21 seconds.
[01/Oct/2024 09:01:07] INFO [storageadmin.tasks:56] Now executing Huey task [install], id: d7c397ec-89f9-4250-bf24-150f32c0b864.
[01/Oct/2024 09:01:07] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'stop', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 09:01:07] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rm', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 09:01:07] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'pull', 'minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest']. output: [''] error: ['invalid reference format', '']
[01/Oct/2024 09:01:07] ERROR [storageadmin.views.rockon_helpers:207] Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 204, in install
    globals().get("{}_install".format(rockon.name.lower()), generic_install)(rockon)
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 372, in generic_install
    run_command([DOCKER, "pull", image_name_plus_tag], log=True)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 289, in run_command
    raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
[01/Oct/2024 09:01:07] INFO [storageadmin.tasks:64] Task [install], id: d7c397ec-89f9-4250-bf24-150f32c0b864 completed OK
[01/Oct/2024 09:04:55] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 7.92 seconds.
[01/Oct/2024 09:05:29] INFO [storageadmin.tasks:56] Now executing Huey task [install], id: a3199fe8-c5bf-4799-914c-bb0d0020e07d.
[01/Oct/2024 09:05:29] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'stop', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 09:05:29] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rm', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 09:05:29] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'pull', 'minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest']. output: [''] error: ['invalid reference format', '']
[01/Oct/2024 09:05:29] ERROR [storageadmin.views.rockon_helpers:207] Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 204, in install
    globals().get("{}_install".format(rockon.name.lower()), generic_install)(rockon)
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 372, in generic_install
    run_command([DOCKER, "pull", image_name_plus_tag], log=True)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 289, in run_command
    raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
[01/Oct/2024 09:05:29] INFO [storageadmin.tasks:64] Task [install], id: a3199fe8-c5bf-4799-914c-bb0d0020e07d completed OK
[01/Oct/2024 09:16:33] INFO [storageadmin.tasks:56] Now executing Huey task [install], id: 406e1a4a-d791-42cc-a0c2-23cc9cfca66b.
[01/Oct/2024 09:16:33] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'stop', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 09:16:33] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rm', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 09:16:33] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'pull', 'minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest']. output: [''] error: ['invalid reference format', '']
[01/Oct/2024 09:16:33] ERROR [storageadmin.views.rockon_helpers:207] Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 204, in install
    globals().get("{}_install".format(rockon.name.lower()), generic_install)(rockon)
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 372, in generic_install
    run_command([DOCKER, "pull", image_name_plus_tag], log=True)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 289, in run_command
    raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
[01/Oct/2024 09:16:33] INFO [storageadmin.tasks:64] Task [install], id: 406e1a4a-d791-42cc-a0c2-23cc9cfca66b completed OK
[01/Oct/2024 09:27:01] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 7.75 seconds.
[01/Oct/2024 09:29:46] INFO [storageadmin.tasks:56] Now executing Huey task [install], id: d7589b76-c2e9-4721-b4c4-dffe31ea4550.
[01/Oct/2024 09:29:46] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'stop', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 09:29:46] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rm', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 09:29:46] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'pull', 'quay.io/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest']. output: [''] error: ['invalid reference format', '']
[01/Oct/2024 09:29:46] ERROR [storageadmin.views.rockon_helpers:207] Error running a command. cmd = /usr/bin/docker pull quay.io/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 204, in install
    globals().get("{}_install".format(rockon.name.lower()), generic_install)(rockon)
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 372, in generic_install
    run_command([DOCKER, "pull", image_name_plus_tag], log=True)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 289, in run_command
    raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /usr/bin/docker pull quay.io/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
[01/Oct/2024 09:29:46] INFO [storageadmin.tasks:64] Task [install], id: d7589b76-c2e9-4721-b4c4-dffe31ea4550 completed OK
[01/Oct/2024 12:06:37] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 7.97 seconds.
[01/Oct/2024 12:08:00] INFO [storageadmin.tasks:56] Now executing Huey task [install], id: 5276466f-b341-43ca-95a1-f091732897e0.
[01/Oct/2024 12:08:00] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'stop', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 12:08:00] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rm', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 12:08:00] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'pull', 'minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest']. output: [''] error: ['invalid reference format', '']
[01/Oct/2024 12:08:00] ERROR [storageadmin.views.rockon_helpers:207] Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 204, in install
    globals().get("{}_install".format(rockon.name.lower()), generic_install)(rockon)
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 372, in generic_install
    run_command([DOCKER, "pull", image_name_plus_tag], log=True)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 289, in run_command
    raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
[01/Oct/2024 12:08:00] INFO [storageadmin.tasks:64] Task [install], id: 5276466f-b341-43ca-95a1-f091732897e0 completed OK
[01/Oct/2024 12:26:27] INFO [storageadmin.tasks:56] Now executing Huey task [install], id: 1111f512-4901-43ed-a3a8-41432d688682.
[01/Oct/2024 12:26:27] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'stop', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 12:26:27] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rm', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 12:26:27] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'pull', 'minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest']. output: [''] error: ['invalid reference format', '']
[01/Oct/2024 12:26:27] ERROR [storageadmin.views.rockon_helpers:207] Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 204, in install
    globals().get("{}_install".format(rockon.name.lower()), generic_install)(rockon)
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 372, in generic_install
    run_command([DOCKER, "pull", image_name_plus_tag], log=True)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 289, in run_command
    raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
[01/Oct/2024 12:26:27] INFO [storageadmin.tasks:64] Task [install], id: 1111f512-4901-43ed-a3a8-41432d688682 completed OK
[01/Oct/2024 12:29:12] INFO [storageadmin.tasks:56] Now executing Huey task [install], id: 1105c2df-60d5-45c8-8475-74c2a1f183d0.
[01/Oct/2024 12:29:13] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'stop', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 12:29:13] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rm', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 12:29:13] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'pull', 'minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest']. output: [''] error: ['invalid reference format', '']
[01/Oct/2024 12:29:13] ERROR [storageadmin.views.rockon_helpers:207] Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 204, in install
    globals().get("{}_install".format(rockon.name.lower()), generic_install)(rockon)
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 372, in generic_install
    run_command([DOCKER, "pull", image_name_plus_tag], log=True)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 289, in run_command
    raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /usr/bin/docker pull minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1:latest. rc = 1. stdout = ['']. stderr = ['invalid reference format', '']
[01/Oct/2024 12:29:13] INFO [storageadmin.tasks:64] Task [install], id: 1105c2df-60d5-45c8-8475-74c2a1f183d0 completed OK
[01/Oct/2024 12:34:37] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 9.20 seconds.
[01/Oct/2024 12:37:13] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 9.31 seconds.
[01/Oct/2024 12:37:59] INFO [storageadmin.tasks:56] Now executing Huey task [install], id: 2cb25614-e9ca-4a09-a92f-5e21e7bc649d.
[01/Oct/2024 12:37:59] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'stop', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 12:37:59] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rm', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 12:38:00] INFO [storageadmin.views.rockon:107] Rockon (MinIOcpuV1) state pending and no pending task: assuming task is mid execution.
[01/Oct/2024 12:38:08] INFO [storageadmin.tasks:64] Task [install], id: 2cb25614-e9ca-4a09-a92f-5e21e7bc649d completed OK
[01/Oct/2024 14:05:23] INFO [storageadmin.tasks:56] Now executing Huey task [stop], id: 47ae605b-4c54-4e29-bf51-d5714c8b6211.
[01/Oct/2024 14:05:24] INFO [storageadmin.tasks:64] Task [stop], id: 47ae605b-4c54-4e29-bf51-d5714c8b6211 completed OK
[01/Oct/2024 14:12:35] INFO [storageadmin.tasks:56] Now executing Huey task [start], id: 9db7e07f-8821-44ec-8801-5bac000d3796.
[01/Oct/2024 14:12:36] INFO [storageadmin.tasks:64] Task [start], id: 9db7e07f-8821-44ec-8801-5bac000d3796 completed OK
[01/Oct/2024 17:21:42] INFO [storageadmin.tasks:56] Now executing Huey task [stop], id: 75cae013-36e7-49dd-b0c7-9248b74fdb1e.
[01/Oct/2024 17:21:42] INFO [storageadmin.tasks:64] Task [stop], id: 75cae013-36e7-49dd-b0c7-9248b74fdb1e completed OK
[01/Oct/2024 17:22:10] INFO [storageadmin.tasks:56] Now executing Huey task [uninstall], id: 6f0056fe-3342-4a56-b0a9-ac744ce777a2.
[01/Oct/2024 17:22:10] INFO [storageadmin.tasks:64] Task [uninstall], id: 6f0056fe-3342-4a56-b0a9-ac744ce777a2 completed OK
[01/Oct/2024 17:23:17] INFO [storageadmin.tasks:56] Now executing Huey task [install], id: b1380c45-c3c0-411a-81b8-128b474722bf.
[01/Oct/2024 17:23:17] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'stop', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 17:23:17] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rm', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[01/Oct/2024 17:23:19] INFO [storageadmin.tasks:64] Task [install], id: b1380c45-c3c0-411a-81b8-128b474722bf completed OK

After some search, I found the folder of the json config

{"StreamConfig":{},"State":{"Running":true,"Paused":false,"Restarting":true,"OOMKilled":false,"RemovalInProgress":false,"Dead":false,"Pid":0,"ExitCode":1,"Error":"","StartedAt":"2024-10-02T15:47:32.17465859
5Z","FinishedAt":"2024-10-02T15:47:32.720927526Z","Health":null},"ID":"c2c51658a208a52fe708d944eb0a584a5351c95c448fcf9a70e295897684ea37","Created":"2024-10-02T15:46:30.379807752Z","Managed":false,"Path":"/u
sr/bin/docker-entrypoint.sh","Args":["server","/data"],"Config":{"Hostname":"c2c51658a208","Domainname":"","User":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"ExposedPorts":{"9000/tcp":
{},"9000/udp":{},"9001/tcp":{},"9001/udp":{}},"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["MINIO_ROOT_PASSWORD=#######","MINIO_CONSOLE_ADDRESS=9001","MINIO_ROOT_
USER=User","PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","MINIO_ACCESS_KEY_FILE=access_key","MINIO_SECRET_KEY_FILE=secret_key","MINIO_ROOT_USER_FILE=access_key","MINIO_ROOT_PASSWORD_
FILE=secret_key","MINIO_KMS_SECRET_KEY_FILE=kms_master_key","MINIO_UPDATE_MINISIGN_PUBKEY=RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav","MINIO_CONFIG_ENV_FILE=config.env","MC_CONFIG_DIR=/tmp/.mc
"],"Cmd":["server","/data"],"Image":"minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1","Volumes":{"/data":{}},"WorkingDir":"","Entrypoint":["/usr/bin/docker-entrypoint.sh"],"OnBuild":null,"Labels":{"architect
ure":"x86_64","build-date":"2024-08-07T14:43:42","com.redhat.component":"ubi8-micro-container","com.redhat.license_terms":"https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI","descripti
on":"MinIO object storage is fundamentally different. Designed for performance and the S3 API, it is 100% open-source. MinIO is ideal for large, private cloud environments with stringent security requiremen
ts and delivers mission-critical availability across a diverse range of workloads.","distribution-scope":"public","io.buildah.version":"1.29.0","io.k8s.description":"Very small image which doesn't install t
he package manager.","io.k8s.display-name":"Ubi8-micro","io.openshift.expose-services":"","maintainer":"MinIO Inc \u003cdev@min.io\u003e","name":"MinIO","release":"RELEASE.2024-09-22T00-33-43Z","summary":"M
inIO is a High Performance Object Storage, API compatible with Amazon S3 cloud storage service.","url":"https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/ubi-micro/images/8.10-11","vcs-
ref":"cec96e0fef13a876e42ca14b1d7a758c23d897f7","vcs-type":"git","vendor":"MinIO Inc \u003cdev@min.io\u003e","version":"RELEASE.2024-09-22T00-33-43Z"}},"Image":"sha256:0c73c7ab34710359b6c996b6b2472adacb55b0
af8ea46d4883d8277f799ef6d1","ImageManifest":null,"NetworkSettings":{"Bridge":"","SandboxID":"3c83fe815142ab6099e11be7a0cc02e7e2cfbe770abe0bf239a8a597cf6271be","HairpinMode":false,"LinkLocalIPv6Address":"","
LinkLocalIPv6PrefixLen":0,"Networks":{"bridge":{"IPAMConfig":null,"Links":null,"Aliases":null,"NetworkID":"7247f32ec3a0b615971ef61ebc30264e8a83b8e86a1679c240a2c70525491b0c","EndpointID":"","Gateway":"","IPA
ddress":"","IPPrefixLen":0,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"MacAddress":"","DriverOpts":null,"IPAMOperational":false}},"Service":null,"Ports":null,"SandboxKey":"/var/run/dock
er/netns/3c83fe815142","SecondaryIPAddresses":null,"SecondaryIPv6Addresses":null,"IsAnonymousEndpoint":false,"HasSwarmEndpoint":false},"LogPath":"","Name":"/MinIOcpuV1","Driver":"btrfs","OS":"linux","Restar
tCount":10,"HasBeenStartedBefore":true,"HasBeenManuallyStopped":false,"MountPoints":{"/data":{"Source":"/mnt2/MinIO-data","Destination":"/data","RW":true,"Name":"","Driver":"","Type":"bind","Propagation":"r
private","Spec":{"Type":"bind","Source":"/mnt2/MinIO-data","Target":"/data"},"SkipMountpointCreation":false},"/etc/localtime":{"Source":"/etc/localtime","Destination":"/etc/localtime","RW":false,"Name":"","
Driver":"","Type":"bind","Relabel":"ro","Propagation":"rprivate","Spec":{"Type":"bind","Source":"/etc/localtime","Target":"/etc/localtime","ReadOnly":true},"SkipMountpointCreation":false}},"SecretReferences
":[{"File":{"Name":"credentials.d","UID":"0","GID":"0","Mode":2147484141},"SecretID":"suse_30ae7d2afe972784adef33575f047b18640e20db2bbdb04c66cbcc7e8156f172_credentials.d","SecretName":"suse_30ae7d2afe972784
adef33575f047b18640e20db2bbdb04c66cbcc7e8156f172_credentials.d"}],"ConfigReferences":null,"MountLabel":"","ProcessLabel":"","AppArmorProfile":"docker-default","SeccompProfile":"","NoNewPrivileges":false,"Ho
stnamePath":"/mnt2/RocksOns/containers/c2c51658a208a52fe708d944eb0a584a5351c95c448fcf9a70e295897684ea37/hostname","HostsPath":"/mnt2/RocksOns/containers/c2c51658a208a52fe708d944eb0a584a5351c95c448fcf9a70e29
5897684ea37/hosts","ShmPath":"","ResolvConfPath":"/mnt2/RocksOns/containers/c2c51658a208a52fe708d944eb0a584a5351c95c448fcf9a70e295897684ea37/resolv.conf","LocalLogCacheMeta":{"HaveNotifyEnabled":false}}

It is normal the file docker-entrypoint.sh does not exist?

"Path":"/usr/bin/docker-entrypoint.sh"

Mhm, let’s see. I saw this in your log list further up

[01/Oct/2024 08:46:27] ERROR [storageadmin.util:45] Exception: Duplicate container (MinIO) definition detected. It belongs to another Rock-on (MinIO). Uninstall one of them and try again.
NoneType: None

Unless you’ve done all that alread, let’s get rid of that stuff first.

on the command line:

cd /opt/rockstor
poetry run delete-rockon 'MinIOcpuV1'
poetry run delete-rockon 'MinIO`

this should get rid of both the database entries, existing containers, as well as the underlying images.
you can check for the images with:

docker images

Once that’s done, run the rescan in the WebUI. Both the original MinIO and your version should show up in the list again. Now try to install your version of the Rockon again and see what errors you might get (or … maybe it works).

1 Like

Hi Hooverdan, thanks for fast reply.

I have try this

##-###-NAS:/opt/rockstor # poetry run delete-rockon 'MinIOcpuV1'
The metadata for the Rock-On named MinIOcpuV1 (id: 82) has been deleted from the database
##-###-NAS:/opt/rockstor # poetry run delete-rockon 'MinIO'
The metadata for the Rock-On named MinIO (id: 38) has been deleted from the database

It delete all and clean up, thanks for that. After update the catalogue and install the application, I have the same error:

Oct 02 12:56:16 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: FATAL Unable to start listening on console port: address 9001: missing port in address
Oct 02 12:56:16 DO-DRU-NAS dockerd[6750]: time="2024-10-02T12:56:16.199938527-04:00" level=warning msg="cleaning up after shim disconnected" id=31bab42f7af657399eb9ee2f4b0e2b4d7376b050c4cdb81572e4984ea70b7>
Oct 02 12:56:19 DO-DRU-NAS dockerd[6742]: time="2024-10-02T12:56:19.817574209-04:00" level=warning msg="SUSE:secrets :: removing 'old' suse secret \"suse_30ae7d2afe972784adef33575f047b18640e20db2bbdb04c66c>
Oct 02 12:56:19 DO-DRU-NAS dockerd[6750]: time="2024-10-02T12:56:19.960209733-04:00" level=info msg="loading plugin \"io.containerd.event.v1.publisher\"..." runtime=io.containerd.runc.v2 type=io.containerd>
Oct 02 12:56:19 DO-DRU-NAS dockerd[6750]: time="2024-10-02T12:56:19.960759461-04:00" level=info msg="loading plugin \"io.containerd.internal.v1.shutdown\"..." runtime=io.containerd.runc.v2 type=io.containe>
Oct 02 12:56:19 DO-DRU-NAS dockerd[6750]: time="2024-10-02T12:56:19.960785022-04:00" level=info msg="loading plugin \"io.containerd.ttrpc.v1.task\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrp>
Oct 02 12:56:19 DO-DRU-NAS dockerd[6750]: time="2024-10-02T12:56:19.960954978-04:00" level=info msg="loading plugin \"io.containerd.ttrpc.v1.pause\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttr>
Oct 02 12:56:20 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: ERRO: Calculating checksum failed: open minio: no such file or directory
Oct 02 12:56:20 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: FATAL Unable to start listening on console port: address 9001: missing port in address
Oct 02 12:56:20 DO-DRU-NAS dockerd[6750]: time="2024-10-02T12:56:20.334562308-04:00" level=warning msg="cleaning up after shim disconnected" id=31bab42f7af657399eb9ee2f4b0e2b4d7376b050c4cdb81572e4984ea70b7>

And after finish install

Oct 02 12:56:16 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: FATAL Unable to start listening on console port: address 9001: missing port in address
Oct 02 12:56:16 DO-DRU-NAS dockerd[6750]: time="2024-10-02T12:56:16.199938527-04:00" level=warning msg="cleaning up after shim disconnected" id=31bab42f7af657399eb9ee2f4b0e2b4d7376b050c4cdb81572e4984ea70b7edf namespace=moby
Oct 02 12:56:19 DO-DRU-NAS dockerd[6742]: time="2024-10-02T12:56:19.817574209-04:00" level=warning msg="SUSE:secrets :: removing 'old' suse secret \"suse_30ae7d2afe972784adef33575f047b18640e20db2bbdb04c66cbcc7e8156f172_credentials.d\" fr>
Oct 02 12:56:19 DO-DRU-NAS dockerd[6750]: time="2024-10-02T12:56:19.960209733-04:00" level=info msg="loading plugin \"io.containerd.event.v1.publisher\"..." runtime=io.containerd.runc.v2 type=io.containerd.event.v1
Oct 02 12:56:19 DO-DRU-NAS dockerd[6750]: time="2024-10-02T12:56:19.960759461-04:00" level=info msg="loading plugin \"io.containerd.internal.v1.shutdown\"..." runtime=io.containerd.runc.v2 type=io.containerd.internal.v1
Oct 02 12:56:19 DO-DRU-NAS dockerd[6750]: time="2024-10-02T12:56:19.960785022-04:00" level=info msg="loading plugin \"io.containerd.ttrpc.v1.task\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
Oct 02 12:56:19 DO-DRU-NAS dockerd[6750]: time="2024-10-02T12:56:19.960954978-04:00" level=info msg="loading plugin \"io.containerd.ttrpc.v1.pause\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
Oct 02 12:56:20 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: ERRO: Calculating checksum failed: open minio: no such file or directory
Oct 02 12:56:20 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: FATAL Unable to start listening on console port: address 9001: missing port in address
Oct 02 12:56:20 DO-DRU-NAS dockerd[6750]: time="2024-10-02T12:56:20.334562308-04:00" level=warning msg="cleaning up after shim disconnected" id=31bab42f7af657399eb9ee2f4b0e2b4d7376b050c4cdb81572e4984ea70b7edf namespace=moby

The status is in restarting state

DO-DRU-NAS:/opt/rockstor # docker images
REPOSITORY    TAG                                  IMAGE ID       CREATED      SIZE
minio/minio   RELEASE.2024-09-22T00-33-43Z-cpuv1   0c73c7ab3471   8 days ago   169MB
DO-DRU-NAS:/opt/rockstor # docker container ls
CONTAINER ID   IMAGE                                            COMMAND                  CREATED         STATUS                         PORTS     NAMES
31bab42f7af6   minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1   "/usr/bin/docker-ent…"   3 minutes ago   Restarting (1) 6 seconds ago             MinIOcpuV1

Same error when reading log

DO-DRU-NAS:/opt/rockstor # docker logs MinIOcpuV1
ERRO: Calculating checksum failed: open minio: no such file or directory
FATAL Unable to start listening on console port: address 9001: missing port in address
ERRO: Calculating checksum failed: open minio: no such file or directory
FATAL Unable to start listening on console port: address 9001: missing port in address
ERRO: Calculating checksum failed: open minio: no such file or directory
[02/Oct/2024 12:53:22] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'stop', 'MinIO']. output: [''] error: ['Error response from daemon: No such container: MinIO', '']
[02/Oct/2024 12:53:22] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rm', 'MinIO']. output: [''] error: ['Error response from daemon: No such container: MinIO', '']
[02/Oct/2024 12:53:22] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rmi', 'minio/minio:latest']. output: [''] error: ['Error response from daemon: No such image: minio/minio:latest', '']
[02/Oct/2024 12:54:27] INFO [storageadmin.views.rockon:505] Rock-on definitions retrieved in: 9.04 seconds.
[02/Oct/2024 12:55:58] INFO [storageadmin.tasks:56] Now executing Huey task [install], id: f767e0c1-c830-43ca-a229-51f521938f70.
[02/Oct/2024 12:55:58] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'stop', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[02/Oct/2024 12:55:58] ERROR [system.osi:287] non-zero code(1) returned by command: ['/usr/bin/docker', 'rm', 'MinIOcpuV1']. output: [''] error: ['Error response from daemon: No such container: MinIOcpuV1', '']
[02/Oct/2024 12:56:01] INFO [storageadmin.views.rockon:107] Rockon (MinIOcpuV1) state pending and no pending task: assuming task is mid execution.
[02/Oct/2024 12:56:05] INFO [storageadmin.views.rockon:107] Rockon (MinIOcpuV1) state pending and no pending task: assuming task is mid execution.
[02/Oct/2024 12:56:06] INFO [storageadmin.tasks:64] Task [install], id: f767e0c1-c830-43ca-a229-51f521938f70 completed OK

I just found more information

DO-DRU-NAS:/var/run # docker image history 0c73c7ab3471
IMAGE          CREATED       CREATED BY                                      SIZE      COMMENT
0c73c7ab3471   8 days ago    CMD ["minio"]                                   0B        buildkit.dockerfile.v0
<missing>      8 days ago    ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]    0B        buildkit.dockerfile.v0
<missing>      8 days ago    VOLUME [/data]                                  0B        buildkit.dockerfile.v0
<missing>      8 days ago    EXPOSE map[9000/tcp:{}]                         0B        buildkit.dockerfile.v0
<missing>      8 days ago    COPY dockerscripts/docker-entrypoint.sh /usr…   675B      buildkit.dockerfile.v0
<missing>      8 days ago    COPY LICENSE /licenses/LICENSE # buildkit       34.5kB    buildkit.dockerfile.v0
<missing>      8 days ago    COPY CREDITS /licenses/CREDITS # buildkit       1.69MB    buildkit.dockerfile.v0
<missing>      8 days ago    COPY /go/bin/cur* /usr/bin/ # buildkit          5.44MB    buildkit.dockerfile.v0
<missing>      8 days ago    COPY /go/bin/mc* /usr/bin/ # buildkit           27.3MB    buildkit.dockerfile.v0
<missing>      8 days ago    COPY /go/bin/minio* /usr/bin/ # buildkit        104MB     buildkit.dockerfile.v0
<missing>      8 days ago    COPY /etc/ssl/certs/ca-certificates.crt /etc…   220kB     buildkit.dockerfile.v0
<missing>      8 days ago    RUN |1 RELEASE=RELEASE.2024-09-22T00-33-43Z …   3.1MB     buildkit.dockerfile.v0
<missing>      8 days ago    ENV MINIO_ACCESS_KEY_FILE=access_key MINIO_S…   0B        buildkit.dockerfile.v0
<missing>      8 days ago    LABEL name=MinIO vendor=MinIO Inc <dev@min.i…   0B        buildkit.dockerfile.v0
<missing>      8 days ago    ARG RELEASE=RELEASE.2024-09-22T00-33-43Z        0B        buildkit.dockerfile.v0
<missing>      8 weeks ago   /bin/sh -c #(nop) LABEL "distribution-scope"…   26.8MB
<missing>      8 weeks ago   /bin/sh -c #(nop) ADD file:73ab177cb2f42c485…   0B
<missing>      8 weeks ago   /bin/sh -c #(nop) ADD file:e804638e877275d7d…   0B
<missing>      8 weeks ago   /bin/sh -c #(nop) LABEL release=11              0B
<missing>      8 weeks ago   /bin/sh -c #(nop) CMD /bin/sh                   0B
<missing>      8 weeks ago   /bin/sh -c #(nop) COPY file:8a1c814f171edd8b…   0B
<missing>      8 weeks ago   /bin/sh -c #(nop) COPY dir:0f5ec8a8b38b9f2e9…   0B
<missing>      8 weeks ago   /bin/sh -c #(nop) LABEL io.openshift.expose-…   0B
<missing>      8 weeks ago   /bin/sh -c #(nop) LABEL io.k8s.display-name=…   0B
<missing>      8 weeks ago   /bin/sh -c #(nop) LABEL description="Very sm…   0B
<missing>      8 weeks ago   /bin/sh -c #(nop) LABEL summary="ubi8 micro …   0B
<missing>      8 weeks ago   /bin/sh -c #(nop) LABEL com.redhat.license_t…   0B
<missing>      8 weeks ago   /bin/sh -c #(nop) LABEL version="8.10"          0B
<missing>      8 weeks ago   /bin/sh -c #(nop) LABEL name="ubi8/ubi-micro"   0B
<missing>      8 weeks ago   /bin/sh -c #(nop) LABEL com.redhat.component…   0B
<missing>      8 weeks ago   /bin/sh -c #(nop) LABEL maintainer="Red Hat,…   0B

I think a few things have changed on how to run MinIO as a container. Since I’m not using it, I don’t know whether the current one actually works. But I noticed when looking at the docker file on their github repository that there is no environment variable (anymore?) that covers the console address. It seems to be part of the Docker command arguments. From the website the container run command:
https://min.io/docs/minio/container/index.html

docker run \
   -p 9000:9000 \
   -p 9001:9001 \
   --name minio \
   -v ~/minio/data:/data \
   -e "MINIO_ROOT_USER=ROOTNAME" \
   -e "MINIO_ROOT_PASSWORD=CHANGEME123" \
   quay.io/minio/minio server /data --console-address ":9001"

(you can still use the minio/minio instead of quay.io/minio/minio as the source, seems they’re keeping both container repos up-to-date).
so in the json file you would delete the MINIO_CONSOLE_ADDRESS section and add that setting to the command arguments, probably like this:

                "cmd_arguments": [
                    [ "server" , "/data" , "--console-address ':9001'"]

Not entirely sure whether quotation escaping is required here or not, you might have to experiment that a bit. That might remove one of the errors you’re seeing. I’ll keep looking.

I sometimes try to assemble the docker run on the command line until it all works, and then translate that back into the Rockon json file, that way I eliminate one source of error for myself, at least :).

2 Likes

Many thanks Hoodervan, it seem to works now

Oct 02 14:41:23 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: ERRO: Calculating checksum failed: open minio: no such file or directory
Oct 02 14:41:23 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: MinIO Object Storage Server
Oct 02 14:41:23 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: Copyright: 2015-2024 MinIO, Inc.
Oct 02 14:41:23 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: License: GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html
Oct 02 14:41:23 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: Version: RELEASE.2024-09-22T00-33-43Z (go1.22.7 linux/amd64)
Oct 02 14:41:23 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]:
Oct 02 14:41:23 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: API: http://172.17.0.2:9000  http://127.0.0.1:9000
Oct 02 14:41:23 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: WebUI: http://172.17.0.2:39519 http://127.0.0.1:39519
Oct 02 14:41:23 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]:
Oct 02 14:41:23 DO-DRU-NAS minio/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1/MinIOcpuV1[6742]: Docs: https://docs.min.io

I need now just to know how to add the admin port and it will be good.

Another thanks for your time!

2 Likes

Probably like this. This should then give you access to the admin port via the Rockon WebUI button:

{
    "MinIOcpuV1": {
        "description": "MinIO is an S3-compatible object storage server.<p>Based on the official docker image: <a href='https://hub.docker.com/r/minio/minio' target='_blank'>https://hub.docker.com/r/minio/minio</a>, available for amd64 and arm64.</p>",
        "version": "1.2",
        "website": "https://minio.io",
        "more_info": "This Rock-on uses the official MinIO Docker image to implement a single MinIO instance with a single object storage share, suitable for use on a private network.",
        "ui": {
            "https": false,
            "slug": ""
        },
        "volume_add_support": false,
        "containers": {
            "MinIOcpuV1": {
                "image": "minio/minio",
                "tag": "RELEASE.2024-09-22T00-33-43Z-cpuv1",
                "launch_order": 1,
                "ports": {
                    "9000": {
                        "description": "Port for API access, default 9000",
                        "host_default": 9000,
                        "label": "MinIO API Port",
                        "ui": false
                    },
                    "9001": {
                        "description": "Port for Admin Portal access, default 9001",
                        "host_default": 9001,
                        "label": "MinIO Admin Portal Port",
                        "ui": true
                    }
                },
                "volumes": {
                    "/data": {
                        "description": "Choose a share for MinIO object storage",
                        "label": "MinIO Object Storage"
                    }
                },
                "cmd_arguments": [
                    [ "server" , "/data" , "--console-address ':9001'"]
                 ],
                "environment": {
                    "MINIO_ROOT_USER": {
                        "description": "MinIO Administrator Username, 3 to 128 alphanumeric characters",
                        "label": "MinIO Admin User"
                    },
                    "MINIO_ROOT_PASSWORD": {
                        "description": "MinIO Administrator Password, 8 to 128 alphanumeric characters",
                        "label": "MinIO Admin Password"
                    }
                }
            }
        }
    }
}

This is what I have try and not working for now

[ "server" , "/data" , "--console-address ':9001'"]
[ "server" , "/data" , "--console-address="9001"]
[ "server" , "/data" , "--console-address \":9001\""]
[ "server" , "/data" , "--console-address :\"9001\""]
[ "server" , "/data" , "--console-address:" , "9001"]
[ "server" , "/data" , "--console-address" , ":\"9001\""]
[ "server" , "/data" , "--console-address" , "':9001'"]
[ "server" , "/data" , "--console-address ":9001"]

or

[ "server" , "/data" , "--console-address=":9001"]

Try this - unless the documentation is incorrect, I think this is how it could work:

1 Like

Yes I have already try, but do it another time just for sure

[ "server" , "/data" , "--console-address=":9001"]
Error json.decoder.JSONDecodeError: Expecting ',' delimiter: line 38 column 64 (char 1992)

[ "server" , "/data" , "--console-address ":9001"]
Error json.decoder.JSONDecodeError: Expecting ',' delimiter: line 38 column 64 (char 1992)

[ "server" , "/data" , "--console-address :9001"]
Random port

Don’t forget to perform the deletion action (see above) in between the different attempts, otherwise you might have “pollution” from earlier json versions.

Always do a poetry, but after reading this post It seem not possible to complete the command in the right way :frowning:

Well, I completely forgot that I was initially involved in that one, too :). That post also clarifies what the structure of the 2D array needs to be, sorry, my bad.
And, it seems like (unless it has been removed) that the workaround is indeed using an environment variable, based on this here. So something else seems to be going on with your image not wanting to load, it seems. Sorry for leading you down the incorrect path here.

According to this, you could also define the MINIO_ADDRESS and the MINIO_CONSOLE_ADDRESS, both with their corresponding ports (on top of mapping the ports:

Yess the original minio.json already have the “MINIO_CONSOLE_ADDRESS”

This is the error I have when go back to the original setting

system.exceptions.CommandException: Error running a command. cmd = /usr/bin/docker pull quay.io/minio:RELEASE.2024-09-22T00-33-43Z-cpuv1. rc = 1. stdout = ['']. stderr = ['Error response from daemon: error parsing HTTP 404 response body: invalid character \'<\' looking for beginning of value: "\\n\\n\\n
Not Found
\\n
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

\\n"', '']
[02/Oct/2024 17:37:04] INFO [storageadmin.tasks:64] Task [install], id: 22aa328b-695b-491d-b59d-59139e27fa2b completed OK

I have try with all of this

9001
:9001
":9001"
':9001'

None of them work

For fun, have you tried to actually put the : in there?

I think you’re missing a /minio in there, if you’re using the quay.io, shouldn’t it be:

quay.io/minio/minio

Source: MinIO Object Storage for Container — MinIO Object Storage for Container

1 Like