Closed HC-224 closed 2 years ago
To be honest I don't know much about the environment you use, I see some similar issues in FreeBSD+Jail related threads, for instance:
Looks like Files.getFileStore(rootDirectory).usableSpace
file-store in unavailable here, could you try to set fixed quota for your repository, like e.g. 100GB.
Setting the quota to 10GB resulted in a successful upload. I would consider this a suitable solution for myself. Thank you!
I understand that BSD is not a popular OS and do agree that this is instead something that should be fixed within the OpenJDK port as mentioned in your second link. Although that thread is 7 years old now.
TrueNAS doesn't offer the full set of configurations to jails, and being ZFS based fstab isn't used at all on the host system. So it may be ZFS related, my Arch Linux systems on ZFS do not have fstab entries for ZFS mounts.
Either way there is a workaround here which is sufficient for me, feel free to close. ZFS supports dataset quotas and limits so that could be used in place of Reposilite's limits. I am unsure what could be done for plain BSD users though.
Edit: Enabling Allow Mount
in TrueNAS Jail config with all file systems did not fix this issue when using percentage quotas. I don't see any other config options related to fstab.
Good to know, thanks for your feedback! Because this issue can be solved by workaround and it looks like extremely rare target, I've labeled it as wontfix
for now. If some users in the future will experience it, let me know in this issue, we can always go back to this topic if needed :)
What happened?
I have a basic setup made by following the guides for setting up a management user and maven deploy, when running
mvn deploy
an exception is thrown in Reposilite for each file. Maven will report a successful deployment although Reposilite will have no files added, viewing the web front end shows nothing has been uploaded.I am running v3.0.3 inside of a FreeBSD (TrueNAS CORE) Jail, something I noticed in the stack is that the exception thrown references a missing mount point in
fstab
, however Jails do not appear to have anfstab
at all. I presume that may be the reason for the issue.I concatenated the stack after the first two exceptions, they all appear to be more or less the same.
Unfortunately I wasn't able to build Reposilite myself to test some changes. Not that I know for certain where the issue is though.
Reposilite version
3.x
Relevant log output