Rancher Desktop UNIX_PATH_MAX Error

When trying to start Rancher Desktop on a Mac, I was running into this error:

must be less than UNIX_PATH_MAX=1XX characers, but is 1XX

As my machine was a managed device I couldn’t update any of the account / path information. I did however find the following workaround. You’ll need to move and link the lima home directory to ~/.rdlima:

$ mv ~/Library/Application\ Support/rancher-desktop/lima ~/.rdlima
$ ln -s ~/.rdlima ~/Library/Application\ Support/rancher-desktop/lima

I was having this issue with a Rancher Desktop version as recent as 1.16.0 (1.16.0). I’m hoping the good folks at SUSE get this to automatically adjust in future releases.

Hugo date error

I was firing up a Gitlab Pages site using Hugo today and ran across the following error

Failed to get translated string for language "en" and ID "postedOnDate": template: :1:13: executing "" at <.Count>: can't evaluate field Count in type string

Though the magic of grep I found two locations for the offender:

/themes/beautifulhugo/i18n/ja.yaml /themes/beautifulhugo/i18n/en.yaml

You’ll find the following bit of code here

- id: postedOnDate  translation: "Posted on {{ .Count }}"

Remove Count from the setting as shown in the following snippet and you’ll be golden

- id: postedOnDate  translation: "Posted on {{ . }}"