Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | minio #1160

Closed
Fourdee opened this issue Sep 26, 2017 · 13 comments
Closed

DietPi-Software | minio #1160

Fourdee opened this issue Sep 26, 2017 · 13 comments

Comments

@Fourdee
Copy link
Collaborator

Fourdee commented Sep 26, 2017

Added by @TechDabbler https://github.com/Fourdee/DietPi/pull/1152

@Fourdee
Copy link
Collaborator Author

Fourdee commented Sep 26, 2017

x86_64:

root@DietPi:~# systemctl status minio.service
● minio.service - Minio
   Loaded: loaded (/etc/systemd/system/minio.service; disabled; vendor preset: e
nabled)
   Active: failed (Result: exit-code) since Tue 2017-09-26 17:38:04 B
ST; 45s ago
     Docs: https://docs.minio.io
  Process: 4267 ExecStart=/usr/local/bin/minio server $MINIO_OPTS $MINIO_VOLUMES
 (code=exited, status=203/EXEC)
  Process: 4264 ExecStartPre=/bin/bash -c [ -n "${MINIO_VOLUMES}" ] || echo "Var
iable MINIO_VOLUMES not set in /etc/default/minio" (code=exited, status=0/SUCCES
S)
 Main PID: 4267 (code=exited, status=203/EXEC)

Sep 26 17:38:04 DietPi systemd[1]: Starting Minio...
Sep 26 17:38:04 DietPi systemd[1]: Started Minio.
Sep 26 17:38:04 DietPi systemd[4267]: minio.service: Failed at step EXEC
 spawning /usr/local/bin/minio: Exec format error

Looks like incorrect binary for arch.

@ghost
Copy link

ghost commented Sep 26, 2017

I'll have to check that out. Admittedly I did all most testing on ARM. Worst case it just gets disabled for x86_64.

@ghost
Copy link

ghost commented Sep 26, 2017

are you testing on x64? I downloaded the x86 thinking it would run on both. I bet I just need to break out the executables. I'll do that when I get home tonight.

@Fourdee
Copy link
Collaborator Author

Fourdee commented Sep 26, 2017

@TechDabbler

are you testing on x64?

Yep, all our non-ARM images are x86_64 only.

I bet I just need to break out the executables. I'll do that when I get home tonight.

Done:
Fourdee@efbcc82

Fourdee referenced this issue Sep 26, 2017
@Fourdee
Copy link
Collaborator Author

Fourdee commented Sep 26, 2017

And corrected HW_ARCH index for x86_64:
Fourdee@f3dde8e

@ghost
Copy link

ghost commented Sep 26, 2017

Great. Thanks. I didn't realize there were not x86 images at all. What is the difference between 20, 21 and 10?

@Fourdee
Copy link
Collaborator Author

Fourdee commented Sep 26, 2017

@Fourdee
Copy link
Collaborator Author

Fourdee commented Sep 26, 2017

@TechDabbler

Looks good 👍 :

root@DietPi:~# systemctl status minio.service -l
● minio.service - Minio
   Loaded: loaded (/etc/systemd/system/minio.service; disabled; vendor preset: e
nabled)
   Active: active (running) since Tue 2017-09-26 18:44:12 BST; 1min 5
5s ago
     Docs: https://docs.minio.io
  Process: 10924 ExecStartPre=/bin/bash -c [ -n "${MINIO_VOLUMES}" ] || echo "Va
riable MINIO_VOLUMES not set in /etc/default/minio" (code=exited, status=0/SUCCE
SS)
 Main PID: 10926 (minio)
    Tasks: 9 (limit: 4915)
   CGroup: /system.slice/minio.service
           └─10926 /usr/local/bin/minio server /mnt/dietpi_userdata/minio-data

Sep 26 18:44:13 DietPi minio[10926]:    http://192.168.0.211:9000  http://127.0.
0.1:9000
Sep 26 18:44:13 DietPi minio[10926]: Command-line Access: https://docs.minio.io/
docs/minio-client-quickstart-guide
Sep 26 18:44:13 DietPi minio[10926]:    $ mc config host add myminio http://192.
168.0.211:9000 H7XB8NQS28HCPU1D6PQG nKOYBRJW/kv6zgWolU2pOTtzkYQVwc/nlyPdqebz
Sep 26 18:44:13 DietPi minio[10926]: Object API (Amazon S3 compatible):
Sep 26 18:44:13 DietPi minio[10926]:    Go:         https://docs.minio.io/docs/g
olang-client-quickstart-guide

To Do:

  • Add to dietpi-process_tool

@ghost
Copy link

ghost commented Sep 26, 2017

@Fourdee

RE: HW_ARCHs -- I see what happened I was using a guide on adding software that appears to have an old ARCH list since I can't find 20 and 21 anymore at all. If this is still considered a current guide it might be good to update. Not sure how that works.

https://github.com/Fourdee/DietPi/issues/490

Happy that fixed the x86_64 problem. I love easy stuff.

@Fourdee
Copy link
Collaborator Author

Fourdee commented Oct 14, 2017

If this is still considered a current guide it might be good to update. Not sure how that works.

@TechDabbler

Apologies, i've updated the link to current indexs 👍

Fourdee referenced this issue Oct 14, 2017
@Fourdee
Copy link
Collaborator Author

Fourdee commented Oct 14, 2017

@TechDabbler
Running on x86_64:

root@DietPi:~# systemctl status minio
● minio.service - Minio
   Loaded: loaded (/etc/systemd/system/minio.service; disabled; vendor preset: enabled)
   Active: active (running) since Sat 2017-10-14 16:21:38 BST; 8min ago
     Docs: https://docs.minio.io
  Process: 4955 ExecStartPre=/bin/bash -c [ -n "${MINIO_VOLUMES}" ] || echo "Variable MINIO_VOLUMES not set in /etc/default/minio" (code=exited, status=0/SUC
CESS)
 Main PID: 4958 (minio)
    Tasks: 10 (limit: 4915)
   CGroup: /system.slice/minio.service
           └─4958 /usr/local/bin/minio server /mnt/dietpi_userdata/minio-data

Believe we can now mark this as completed?

@ghost
Copy link

ghost commented Oct 14, 2017

Yes we can.

@Fourdee
Copy link
Collaborator Author

Fourdee commented Oct 14, 2017

Completed by @TechDabbler , available for install in v157 👍

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

No branches or pull requests

1 participant