The #infrastructure of #Hachyderm was discussed at #FOSDEM in a Birds Of a Feather. We talked about the different components and why they are structured as they are now, explaining both their history and the financial aspect.
In the photo below @hazelweakly and @esk ; @e_nomem and myself were also there.
=> View attached media | View attached media
=> More informations about this toot | View the thread
The GO @godevroom before and after at #FOSDEM @maartje #golang
=> View attached media | View attached media
=> More informations about this toot | View the thread
[#]Brussels #grandplace
=> More informations about this toot | View the thread
Fort Carré d'#Antibes #france #photography #silentsunday
https://en.wikipedia.org/wiki/Fort_Carr%C3%A9
=> View attached media | View attached media | View attached media
=> More informations about this toot | View the thread
I took the opportunity to install a #mongodb #exporter to monitor the database with #Prometheus and #Grafana
https://github.com/percona/mongodb_exporter
6/6
=> More informations about this toot | View the thread
I love #dopamine !
I continued the upgrades:
upgrade Network Application controller to 8.1.113
upgrade MongoDB to 5.0, 6.0, 7.0
upgrade Network Application to 8.6.9
upgrade MongoDB to 8.0
upgrade Network Application to 9.0.108
And voila!
5/n
=> More informations about this toot | View the thread
Indeed, #MongoDb 4.4.29 needs #ARM v8.2-A and #Raspberry #PI 4 is ARM v8.0-A. I had to stop at 4.4.18.
Plan B:
Move MongoDB to a #Synology NAS that has a #Ryzen CPU
I installed MongoDB 4.4.18, exposed the port, set a user/password with ACL.
To restore the database I used
mongorestore --uri="mongodb://user:pass@nas:27017/?authSource=admin" --archive=unifi.archive --db=unifi mongorestore --uri="mongodb://user:pass@nas:27017/?authSource=admin" --archive=unifi_stat.archive --db=unifi_stat
I updated the Unifi network application container to use the new URI and user/pass and it worked !!!
4/n
=> More informations about this toot | View the thread
For each version, I did the following:
Stop Unifi network application Backup the database mongodump --archive=unifi.archive --db=unifi mongodump --archive=unifi_stat.archive --db=unifi_stat Stop MongoDB Upgrade the Docker image version to n Start MongoDB container Start Unifi network application Tests Connect to Mongodb and set the feature compatibility version to n
https://www.mongodb.com/docs/manual/release-notes/8.0-upgrade-standalone/
This went fine until I tried to upgrade to 4.4.29. The MongoDb container was not starting.
Earlier, I had a warning but for an upper version "WARNING: MongoDB 5.0+ requires a CPU with #AVX support, and your current system does not appear to have that!"
3/n
=> More informations about this toot | View the thread
Here is the plan:
upgrade MongoDB to 4.4
upgrade Network Application controller to 8.1.113
upgrade MongoDB to 5.0, 6.0, 7.0
upgrade Network Application to 8.6.9
upgrade MongoDB to 8.0
upgrade Network Application to 9.0.108
Well that was the plan but, I can't upgrade directly from MongoDB 3.6 to 4.4, I had to go through 4.0, 4.2, 4.4. Also, I read that there were some issues with upgrade from 3.6 to 4.0.0 and the advice was to start with 4.0.1
So my plan was the following: 3.6.23 -> 4.0.1 -> 4.0.28 -> 4.2.1 -> 4.2.24 -> 4.4.1 -> 4.4.29
(second version of each major version followed by the last version of each major version)
2/n
=> More informations about this toot | View the thread
A little story about my journey to upgrade the #MongoDB version and my #Unifi Network Application #controller.
When reading the release note of #Ubiquiti Unifi Network Application (The controller), I noticed that the MongoDB version supported was increased.
UniFi Network Application 7.5 and newer requires MongoDB 3.6 and Java 17. Version 7.5 till 8.0 supports up to MongoDB 4.4. Version 8.1 and newer supports up to MongoDB 7.0. Version 9.0 and newer supports up to MongoDB 8.0 and Java 17/21.
I'm running MongoDB 3.6 on my #Raspberry #PI 4, and I can upgrade it !
The last security update for MongoDB 3.6 was in April 2021, almost 4 years ago.
Unifi controller was 7.5.176 when I started this journey. (I'm using https://hub.docker.com/r/jacobalberty/unifi )
1/n
=> More informations about this toot | View the thread
Context: upgrading to #ubiquiti #unifi network application 9.0.108
The #mongodb is 8.0.4
I noticed that there is one error when starting unifi controller:
logs | [2025-01-18T22:30:54,245+01:00] ERROR mongo - Could not determine Mongo journaling state
logs | com.mongodb.MongoCommandException: Command failed with error 13 (Unauthorized): 'not authorized on admin to execute command { serverStatus: 1, $db: "admin", lsid: { id: UUID("c34cea8c-9a04-4f18-947e-1aacb2da94c9") } }' on server 127.0.0.1:27017.
This is due to the missing role 'clusterMonitor' on db 'admin' for user 'unifi'
To add the role, I connected as root user on mongodb and then grant the role to unifi user on unifi db:
use unifi
db.grantRolesToUser("unifi", [{ role: "clusterMonitor", db: "admin" }]);
This role provides read-only access to monitoring tools
https://www.mongodb.com/docs/manual/reference/built-in-roles/#mongodb-authrole-clusterMonitor
=> More informations about this toot | View the thread
[#]Pyxel permet de créer en #Python des jeux rendant hommage aux vieilles consoles, comme la Game Boy Color : de gros pixels, une palette de couleur réduite, un son minimaliste
https://blog.garambrogne.net/pyxel-initiation.html
[#]retrogaming
=> More informations about this toot | View the thread
[#]Pyxel allows you to create games in Python that pay homage to old consoles, such as the Game Boy Color: big pixels, a reduced color palette, minimalist sound
It's a nice way to learn #Python for your kids. The backend is in #Rust #rustlang_gamedev #rustlang
https://github.com/kitao/pyxel/tree/main
=> More informations about this toot | View the thread
I'm building a list of account to follow on Mastodon for #HomeAutomation with a focus on #HomeAssistant.
I started with those:
@homeassistant@fosstodon.org
@balloob
@frenck
@sairon
@homeassistant@a.gup.pe
What are your suggestions? who else should i add?
=> More informations about this toot | View the thread
IP Address Planning in #Kubernetes 🥲
IP address planning can pose significant challenges. Opting for a subnet that's too small risks running out of IPs, while a subnet that's too large may lead to allocation issues across environments 🤯 #devopsish
https://isovalent.com/blog/post/overcoming-kubernetes-ip-address-exhaustion-with-cilium/
/cc @breakawaybilly
=> More informations about this toot | View the thread
[#]rustlang
A #trait defines the functionality a particular type has and can share with other types. We can use traits to define shared behavior in an abstract way. [...]
Traits are similar to a feature often called interfaces in other languages [...]
Below a Summary trait that consists of the behavior provided by a summarize method:
pub trait Summary {
fn summarize(&self) -> String;
}
More information: https://doc.rust-lang.org/book/ch10-02-traits.html
=> More informations about this toot | View the thread
Me before end of year holiday:
"I have a lot of tasks to do, I need to better organize myself for 2025".
Me today:
[#]xkcd
=> More informations about this toot | View the thread
Une video sur l'intelligence artificielle, l'alignement et les super-intelligences
https://www.youtube.com/watch?v=ZP7T6WAK3Ow par EGO
(Video on IA and paperclip, english subtitles are available)
=> More informations about this toot | View the thread
"Salle des Illustres" #toulouse #france #photography
=> More informations about this toot | View the thread
An interesting article on #kubernetes networking
https://otterize.com/blog/mastering-kubernetes-networking-otterize-s-journey-in-cloud-native-packet-management
[#]devopsish #kubernetes #k8s #networkPolicy
=> More informations about this toot | View the thread
=> This profile with reblog | Go to slamp@hachyderm.io account This content has been proxied by September (3851b).Proxy Information
text/gemini