Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    So what am I doing wrong?

    Minio
    5
    7
    246
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      privsec last edited by

      minio guide wrong.png

      girish BrutalBirdie 2 Replies Last reply Reply Quote 0
      • robi
        robi last edited by

        Just reread the instructions 😉

        Life of Advanced Technology

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @privsec last edited by

          @privsec /app/code/minio-credentials is a binary/program to execute and not a file to edit using nano.

          P 1 Reply Last reply Reply Quote 0
          • P
            privsec @girish last edited by

            @girish Yeah, no I get that

            Three lines from the bottom, I ahve
            minio-credentials set key1smapleinfo key2sampleinfo

            I keep getting command not found.

            The terminal looks weird cause I blanked out some things

            fbartels 1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels App Dev @privsec last edited by

              @privsec you have to call the program with the full path and not just it's name.

              1 Reply Last reply Reply Quote 0
              • BrutalBirdie
                BrutalBirdie Staff @privsec last edited by

                First of all, PLEASE DON'T USE PICTURES / SCREENSHOTS FOR LOGS!
                This makes the information inaccessible to some users (for example blind ones) and also it's a pain to read.
                Simply copy the output press the Code Button

                And put your copy-paste here.
                

                @privsec simply said, you are using the shell incorrectly as pointed out by @fbartels

                Also as @robi pointed out just read the docs.

                You try to access minio-credentials which does not exist in the context as for example cp | rm | mv.
                For example you can check if mv does exist by doing this:

                /app/code# which mv
                /usr/bin/mv
                

                And the shell tells you mv is located in /usr/bin/mv, when you try this with minio-credentials you will get this

                /app/code# which minio-credentials
                /app/code#
                

                aka no result. So minio-credentials does not exist as executable in the system paths context.

                minio-credentials is a binary file in /app/code/minio-credentials which IS executable but the relative or full path is needed.

                So if you would have followed the doc and copy-pasted

                /app/code/minio-credentials set NEWACCESSKEY NEWSECRETKEY
                

                it would have worked.

                Like my work? Consider donating a beer 🍻 Cheers!

                P 1 Reply Last reply Reply Quote 1
                • P
                  privsec @BrutalBirdie last edited by

                  @brutalbirdie said in So what am I doing wrong?:

                  First of all, PLEASE DON'T USE PICTURES / SCREENSHOTS FOR LOGS!
                  This makes the information inaccessible to some users (for example blind ones) and also it's a pain to read.
                  Simply copy the output press the Code Button

                  And put your copy-paste here.
                  

                  @privsec simply said, you are using the shell incorrectly as pointed out by @fbartels

                  Also as @robi pointed out just read the docs.

                  You try to access minio-credentials which does not exist in the context as for example cp | rm | mv.
                  For example you can check if mv does exist by doing this:

                  /app/code# which mv
                  /usr/bin/mv
                  

                  And the shell tells you mv is located in /usr/bin/mv, when you try this with minio-credentials you will get this

                  /app/code# which minio-credentials
                  /app/code#
                  

                  aka no result. So minio-credentials does not exist as executable in the system paths context.

                  minio-credentials is a binary file in /app/code/minio-credentials which IS executable but the relative or full path is needed.

                  So if you would have followed the doc and copy-pasted

                  /app/code/minio-credentials set NEWACCESSKEY NEWSECRETKEY
                  

                  it would have worked.

                  I never thought of accessibility issues, thanks for pointing that out. Ill adapt.

                  Ok, I will try that, thanks all.

                  1 Reply Last reply Reply Quote 2
                  • First post
                    Last post
                  Powered by NodeBB