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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Minio
  3. So what am I doing wrong?

So what am I doing wrong?

Scheduled Pinned Locked Moved Minio
7 Posts 5 Posters 1.0k Views 5 Watching
  • 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 Offline
      P Offline
      privsec
      wrote on last edited by
      #1

      minio guide wrong.png

      girishG BrutalBirdieB 2 Replies Last reply
      0
      • robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #2

        Just reread the instructions 😉

        Conscious tech

        1 Reply Last reply
        0
        • P privsec

          minio guide wrong.png

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

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

          P 1 Reply Last reply
          0
          • girishG girish

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

            P Offline
            P Offline
            privsec
            wrote on last edited by
            #4

            @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

            fbartelsF 1 Reply Last reply
            0
            • P privsec

              @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

              fbartelsF Offline
              fbartelsF Offline
              fbartels
              App Dev
              wrote on last edited by
              #5

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

              1 Reply Last reply
              0
              • P privsec

                minio guide wrong.png

                BrutalBirdieB Offline
                BrutalBirdieB Offline
                BrutalBirdie
                Partner
                wrote on last edited by
                #6

                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 drink. Cheers!

                P 1 Reply Last reply
                1
                • BrutalBirdieB BrutalBirdie

                  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.

                  P Offline
                  P Offline
                  privsec
                  wrote on last edited by
                  #7

                  @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
                  2
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search