Skip to content

Troubleshooting2.x

Still stuck? Ask in #infinidysk-development on Discord; Reporting a bug lists what to include.

  • Check the log for a warning about /dev/fuse. Without it 2.x serves WebDAV only. Add the device, SYS_ADMIN and apparmor:unconfined as in the compose file. If you only use WebDAV, turn the built-in mount off instead.
  • The mount shows on the host and in other containers only when the parent directory is bound with :rshared here and :rslave in the readers. See Share the mount.
  • After a crash, readers see “Transport endpoint is not connected” until infinidysk starts again.

Warning: FUSE readahead stays at the kernel default

Section titled “Warning: FUSE readahead stays at the kernel default”

This section also covers FUSE readahead could not be set from this process and FUSE background limits could not all be set from this process. These warnings describe infinidysk’s own tuning attempts, not a failed mount. Without tuning, smaller kernel limits can reduce read throughput.

With rootful Docker, add /sys/devices/virtual/bdi:/sys/devices/virtual/bdi:rw for readahead, as in the compose file. Background tuning needs accessible, writable fusectl connection files; the container uses SYS_ADMIN to attempt a fusectl mount when necessary.

With rootless Docker, container root and SYS_ADMIN do not grant host-root permissions. A :rw bind does not make host-root-owned sysfs files writable by the container. Do not add it solely to silence this warning. The fusectl connection files may also be unavailable in the container. A host administrator can manage these limits from a context that can access and write the live kernel objects: BDI read_ahead_kb and the matching fusectl connection’s max_background and congestion_threshold. Recheck the connection and values after each remount.

FUSE kernel limits reports a one-time reading after the app’s tuning attempts. It may precede a host service’s update. infinidysk does not reread these limits or monitor that service, so confirm external tuning from the live kernel values and the service’s own status. A startup warning does not prove external tuning failed. Readahead volume explains the rootful bind mount.

2.x imports when it finds a 1.x database: /config/db.sqlite, or a PostgreSQL database named by DATABASE_PROVIDER and DATABASE_CONNECTION_STRING (or by /config/db-contract.json). Without either, usually because of a wrong config bind, it starts as a new install. Run import-report against the same directory: it says no C# database in that case. Stop 2.x, fix the bind, and start again on a fresh copy of the 1.x config. For 1.x on PostgreSQL, see Upgrade from 1.x on PostgreSQL.

The upgrade stops while copying 1.x PostgreSQL data

Section titled “The upgrade stops while copying 1.x PostgreSQL data”

The upgrade screen shows the reason, and 2.x copies again on the next start. See If the copy fails.

infinidysk will not start: database.toml is missing

Section titled “infinidysk will not start: database.toml is missing”

The log says This install moved to PostgreSQL, but /config/database.toml is missing. infinidysk refuses to start as an empty install. Restore database.toml from your backup to stay on PostgreSQL, or go back to SQLite.

infinidysk started on SQLite again and Settings > System > Database shows the reason. Nothing is lost; it copies again and you can switch once the page shows In sync. See When something goes wrong.

Section titled “Library symlinks do not resolve after the upgrade”

The 2.x mount must sit at exactly the path rclone mounted. See Move off rclone.

Either the time zone changed (set TZ to the zone 1.x ran in), or the old rclone mount used --no-modtime. See Move off rclone, step 4.

See Who is reading.