3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/network-filesystems
Luflosi faad370edc nixos/ipfs: fix the services.ipfs.autoMigrate option
Apparently this was never properly tested and never worked. When the IPFS repo needs upgrading, the first call to ipfs, which is run before running the migration, fails with the error message "Error: ipfs repo needs migration".
To fix this, simply run the migration before any `ipfs config` calls but don't run it when `dataDir` is empty and we need to call `ipfs init`.
Writing a NixOS test for this would require keeping at least two versions of IPFS in Nixpkgs, which we don't currently do.
2022-04-16 07:38:13 -04:00
..
litestream nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
openafs openafsServer: remove dependency on syslog.target (#150294) 2021-12-11 14:46:23 -05:00
orangefs nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
cachefilesd.nix
ceph.nix nixos/ceph: mime-types -> mailcap 2022-01-26 14:30:10 -08:00
davfs2.nix nixos/davfs2: wrap {,u}mount.davfs with setuid=true 2021-05-10 15:54:52 +02:00
diod.nix
drbd.nix nixos/drbd: fix 2021-11-30 21:43:51 +01:00
glusterfs.nix nixos/glusterfs: remove syslog.target from services 2021-12-11 22:43:02 +01:00
ipfs.nix nixos/ipfs: fix the services.ipfs.autoMigrate option 2022-04-16 07:38:13 -04:00
kbfs.nix
moosefs.nix nixos/doc: add moosefs module to release notes 2022-02-03 12:33:44 +01:00
netatalk.nix nixos: convert netatalk to settings-style configuration 2021-05-20 17:39:28 +02:00
nfsd.nix
rsyncd.nix nixos/rsyncd: fix module eval 2022-02-09 08:21:00 +01:00
samba-wsdd.nix treewide: remove duplicates SystemCallFilters 2021-05-13 15:44:56 +03:00
samba.nix Merge pull request #114393 from DarkDNA/feature/samba/network-online 2022-03-21 19:25:50 +01:00
tahoe.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
u9fs.nix
webdav-server-rs.nix nixos/webdav-server-rs: init 2021-11-30 10:19:14 +08:00
webdav.nix nixos/webdav: set uid and gid 2021-11-30 10:19:14 +08:00
xtreemfs.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
yandex-disk.nix