Migrated macos to new system re-installed but unable to use devbox cache
What happened?
I migrated a system using macOS Migration assistant. Was having issues so I deleted nix and started over. devbox installed determinate nix. I am able to devbox auth login and devbox cache enable, but when I go to try to re-install I get the bottom code block info.
devbox auth login:
% devbox auth login
Press Enter to open your browser and login...
Logged in as: [email protected]
devbox cache enable:
% devbox cache enable
The Devbox cache is already enabled for your account.
use devbox update/refresh-global:
% devbox update
Info: Already up-to-date git@latest 2.48.1
Info: Installing the following packages to the nix store: git@latest
warning: ignoring untrusted substituter 's3://devbox-cache?region=us-west-2&trusted=true', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring untrusted substituter 's3://devbox-cache?region=us-west-2&trusted=true', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
✓ Computed the Devbox environment.
Warning: Your devbox environment may be out of date. Run refresh to update it.
Info: Running "nix flake update"
Steps to reproduce
No response
Command
install
devbox.json
% cat devbox.json
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.0/.schema/devbox.schema.json",
"packages": [
"git@latest"
],
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
]
}
}
}
Devbox version
0.14.0
Nix version
nix (Nix) 2.27.1
What system does this bug occur on?
macOS (Apple Silicon)
Debug logs
No response
This is interesting I can devbox cache upload which uploads to s3 fine. Really un-sure what I did wrong.
I deleted nix and started fresh and used devbox 0.13.7 (since it wasn't using the determinate nix installer) and install the latest nix 2.27.1 not using the determinate nix installer and I was able to get back to a working state.
THis isn't exactly the issue I was having. https://github.com/DeterminateSystems/nix-installer/issues/1290
Just a guess here as I originally had nixos.org nix installed and re-installed latest devbox 0.14.0 which defaulted to using determinate nix installer (but I never deleted all of the old nix installed bits) was part of my issue (I think).
After recently updating to Tahoe I only had issues one 1 of 3 machines. I had to delete nix and re-installed with the latest devbox 0.16.0 which installed with the new determinate systems installer.
But now I can't use my user cache again anymore. Sorry for the call out @Lagoja but I don't think I can be the only one having this issues as a jetify cloud user.
% refresh-global
Info: Ensuring packages are installed.
Info: Installing the following packages to the nix store: github:djgoku/dot-files?dir=emacs-overlay&rev=e4a1441
warning: unknown experimental feature 'flakes,'
warning: ignoring untrusted substituter 's3://jetify-cloud-user-cache?region=us-west-2&trusted=true', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring untrusted substituter 's3://jetify-nix-cache?region=us-west-2&trusted=true', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring untrusted substituter 's3://jetify-cloud-user-cache?region=us-west-2&trusted=true', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring untrusted substituter 's3://jetify-nix-cache?region=us-west-2&trusted=true', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring untrusted substituter 's3://jetify-cloud-user-cache?region=us-west-2&trusted=true', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.
warning: ignoring untrusted substituter 's3://jetify-nix-cache?region=us-west-2&trusted=true', you are not a trusted user.
Run `man nix.conf` for more information on the `substituters` configuration option.