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

Evaluate Minio #5

Closed
3 tasks done
ctengel opened this issue May 28, 2022 · 26 comments
Closed
3 tasks done

Evaluate Minio #5

ctengel opened this issue May 28, 2022 · 26 comments
Assignees

Comments

@ctengel ctengel mentioned this issue May 28, 2022
@ctengel ctengel self-assigned this May 28, 2022
@ctengel
Copy link
Owner Author

ctengel commented May 30, 2022

Opened issue - minio/mc#4100

@ctengel ctengel mentioned this issue May 30, 2022
5 tasks
@ctengel
Copy link
Owner Author

ctengel commented May 31, 2022

Openio? Openmediavault? Owncloud?

@ctengel
Copy link
Owner Author

ctengel commented May 31, 2022

Client - boto3 (more) or minio-py

@ctengel
Copy link
Owner Author

ctengel commented May 31, 2022

ctengel added a commit that referenced this issue May 31, 2022
Part of #5
minio evaluate success

Closes #7
ext4 is good enough

Part of #8
got it working but still pending docs
@ctengel ctengel added this to the Basic DB with POSIX client milestone Jun 1, 2022
This was referenced Jun 2, 2022
@ctengel
Copy link
Owner Author

ctengel commented Nov 7, 2022

Note since then we hit another major minio issue with auto upgrading and losing backward compatibility

In happy news lots of benefits from the new version hopefully

See notes in #7

@ctengel ctengel pinned this issue Nov 7, 2022
@ctengel
Copy link
Owner Author

ctengel commented Nov 7, 2022

We need better documentation of how to setup MINIO buckets etc - see #8

@ctengel
Copy link
Owner Author

ctengel commented Nov 7, 2022

  1. Free up laptop space
  2. Reattempt go install
  3. Reread docs in Get one node up #8 about setting up buckets
  4. Attempt to setup
  5. Document in README
  6. Close this issue and move on to CLI tool to import local data #11

@ctengel
Copy link
Owner Author

ctengel commented Nov 7, 2022

From https://www.linkedin.com/pulse/build-your-own-private-cloud-home-raspberry-pi-minio-huerta-arias

$ cat /boot/config.txt
# Increase power available to USB ports
max_usb_current=1

Sharable URLs

$ systemctl list-units | grep '/home/pi/data' | awk '{ print $1 }'
home-pi-data.mount
$ cat  /etc/systemd/system/minio.service
[Unit]
Description=Minio Storage Service
After=network-online.target home-pi-data.mount
[Service]
ExecStart=/home/pi/start.sh
WorkingDirectory=/home/pi
StandardOutput=inherit
StandardError=inherit
Restart=always
User=pi

[Install]
WantedBy=multi-user.target
$ sudo systemctl start minio
$ sudo systemctl status minio
$ sudo systemctl enable minio

@ctengel
Copy link
Owner Author

ctengel commented May 29, 2023

Consider Fedora, now supported officially on Raspbery Pi 4 as of Fedora 37

@ctengel
Copy link
Owner Author

ctengel commented Jun 10, 2023

this is the infra piece - let's execute on #5 (comment)

@ctengel
Copy link
Owner Author

ctengel commented Jun 19, 2023

ctengel added a commit that referenced this issue Jul 13, 2023
@ctengel
Copy link
Owner Author

ctengel commented Jul 25, 2023

I believe access is solved, need to add example JSON and commands to README

ctengel added a commit that referenced this issue Jul 25, 2023
Put directions in README and added sample policy JSON

Part of #5 and related to #16
@ctengel
Copy link
Owner Author

ctengel commented Jul 25, 2023

After doing and splitting some stuff off, the only thing left to do is to get minio running on rpi, including usb power fix and systemd

@ctengel
Copy link
Owner Author

ctengel commented Aug 10, 2023

testing now for streaming

@ctengel
Copy link
Owner Author

ctengel commented Aug 10, 2023

mp4 streaming seems to work (actual mp4 and not mp2t disguised as mp4) fantastically - firefox requests appropriate sections and minio sends them - test success!

@ctengel
Copy link
Owner Author

ctengel commented Aug 13, 2023

More stability/maturity issues -

mc: <ERROR> Deprecated command. Please use 'mc admin policy create' instead.

upon calling MinioAdmin.policy_add() which seems to run mc admin policy add

Essentially the CLI deprecated a usage to the point of breaking it without even letting the official minio python wrapper/library catch up...

@ctengel
Copy link
Owner Author

ctengel commented Aug 13, 2023

See minio/minio-py#1293

@ctengel
Copy link
Owner Author

ctengel commented Aug 14, 2023

Seems fixed in latest, with pip3 install https://github.com/minio/minio-py/archive/refs/heads/master.zip

@ctengel
Copy link
Owner Author

ctengel commented Aug 21, 2023

At this point minio-py seems fixed as of 7.1.16

Remaining

ctengel added a commit that referenced this issue Aug 22, 2023
ctengel added a commit that referenced this issue Aug 22, 2023
@ctengel
Copy link
Owner Author

ctengel commented Aug 22, 2023

dmesg is clean and so is minio log for over a week - that is good

Just need to determine if any power tweaks (software/firmware or hardware (usb hub etc)) are needed...

@ctengel
Copy link
Owner Author

ctengel commented Aug 23, 2023

It appears max usb current no longer needs to be tweaked https://www.raspberrypi.com/documentation/computers/config_txt.html#max_usb_current

One less thing for us to do however bad news in that it seems any power woes have to be fixed in hardware

@ctengel
Copy link
Owner Author

ctengel commented Aug 23, 2023

Will monitor and open separate HW issue as needed. Minio is it for now!

@ctengel ctengel closed this as completed Aug 23, 2023
@ctengel ctengel unpinned this issue Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant