1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

internetarchive Update README to answer questions

This commit is contained in:
Mitra Ardron 2019-05-08 12:35:25 +10:00
parent 52856f6acb
commit 76ead36686

View file

@ -67,22 +67,25 @@ through three levels:
### Disks
The server checks for disks in all the likely places, the list of places it
checks, in an unmodified installation can be seen at
`https://github.com/internetarchive/dweb-mirror/blob/master/configDefaults.yaml#L7`
The server checks for caches of content in directories called `archiveorg` in all the likely places,
in particular it looks in `/media/pi/*archiveorg` for any inserted USB drives,
and if none are found, it uses `/library/archiveorg`.
This includes top level directories on usb drives at `/media/pi/*/archiveorg`
The list of places it checks, in an unmodified installation can be seen at
`https://github.com/internetarchive/dweb-mirror/blob/master/configDefaults.yaml#L7`.
You can override this in `dweb-mirror.config.yaml` in the home directory of the
user that runs the server, this is currently `/root/dweb-mirror.config.yaml`
(see 'Advanced' below)
Items are stored in subdirectories of the first of these directories found, but
read from any of the locations.
Archive's `Items` are stored in subdirectories of the first of these directories found, but
are read from any of the locations.
If you disk space is getting full, its perfectly safe to delete any
subdirectories, except the `.hashstore` at the top level of each, the server
will refetch what it needs if you browse to the item again when connected to
If you disk space is getting full, its perfectly safe to delete any subdirectories, or to move them
to an attached USB. Its also safe to move attached USB's from one device to another.
The one directory you should not move or delete is `archiveorg/.hashstore` in any of these locations,
the server will refetch anything else it needs if you browse to the item again when connected to
the internet.
### Maintenance
@ -117,7 +120,7 @@ tell you where it is on your installation! But anything from this file can be
overridden by lines in `/root/dweb-mirror.config.yaml`. Make sure you
understand how yaml works before editing this file, if you break it, you can
copy a new default from
[dweb-mirror.config.yaml on the repo](https://github.com/internetarchive/dweb-mirror/blob/master/configDefaults.yaml#L7)
[dweb-mirror.config.yaml on the repo](https://github.com/internetarchive/dweb-mirror/blob/master/dweb-mirror.config.yaml)
TODO Note this file will probably move location.