Comments (5)
The /root/ directory in your FreeNAS system should have the passwords file, and there's no autoclean process going on. What version of FreeNAS are you using? My guess is that you've been bitten by the issue that causes loss of mountpoints to the jail--check the README page under the "Status" heading for information and how to resolve it.
from freenas-iocage-nextcloud.
Ohh yes, I've been bitten! I'm using version 11.2-U2.1
Unfortunately after remounting theres another problem because I get an internal server error.
In /var/log/nextcloud.log I get this error:
{"reqId":"duGJHYgoFAkzsp8HlDUt","level":3,"time":"2019-04-10T13:13:53+02:00","remoteAddr":"10.60.9.241","user":"--","app":"PHP","method":"GET","url":"/","message":"fopen(/mnt/files/dat
a_dir_writability_test_5cadcff185fed.tmp): failed to open stream: Permission denied at /usr/local/www/apache24/data/nextcloud/lib/private/legacy/util.php#795","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15","version":"15.0.5.3"}
{"reqId":"duGJHYgoFAkzsp8HlDUt","level":3,"time":"2019-04-10T13:13:53+02:00","remoteAddr":"10.60.9.241","user":"--","app":"index","method":"GET","url":"/","message":{"Exception":"OCP\Files\NotFoundException","Message":"","Code":0,"Trace":[{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/Files/Node/Node.php","line":216,"function":"getFileInfo","class":"OC\Files\Node\Node","type":"->","args":[]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/Files/Node/Node.php","line":117,"function":"getPermissions","class":"OC\Files\Node\Node","type":"->","args":[]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/Files/Node/Folder.php","line":156,"function":"checkPermissions","class":"OC\Files\Node\Node","type":"->","args":[4]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/Files/AppData/AppData.php","line":94,"function":"newFolder","class":"OC\Files\Node\Folder","type":"->","args":["js"]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/Files/AppData/AppData.php","line":114,"function":"getAppDataFolder","class":"OC\Files\AppData\AppData","type":"->","args":[]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/Template/JSCombiner.php","line":97,"function":"newFolder","class":"OC\Files\AppData\AppData","type":"->","args":["core"]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/Template/JSResourceLocator.php","line":114,"function":"process","class":"OC\Template\JSCombiner","type":"->","args":["/usr/local/www/apache24/data/nextcloud","core/js/merged-template-prepend.json","core"]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/Template/JSResourceLocator.php","line":70,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\Template\JSResourceLocator","type":"->","args":["/usr/local/www/apache24/data/nextcloud","core/js/merged-template-prepend.json"]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/Template/ResourceLocator.php","line":78,"function":"doFind","class":"OC\Template\JSResourceLocator","type":"->","args":["js/merged-template-prepend"]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/TemplateLayout.php","line":328,"function":"find","class":"OC\Template\ResourceLocator","type":"->","args":[["vendor/core","js/merged-template-prepend","search/js/search","core/l10n/en","search/l10n/en","search/js/searchprovider","js/jquery-ui-fixes","js/files/fileinfo","js/files/client","js/contactsmenu","js/contactsmenu_templates"]]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/TemplateLayout.php","line":160,"function":"findJavascriptFiles","class":"OC\TemplateLayout","type":"::","args":[["vendor/core","js/merged-template-prepend","search/js/search","core/l10n/en","search/l10n/en","search/js/searchprovider","js/jquery-ui-fixes","js/files/fileinfo","js/files/client","js/contactsmenu","js/contactsmenu_templates"]]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/legacy/template.php","line":211,"function":"__construct","class":"OC\TemplateLayout","type":"->","args":["guest",""]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/private/legacy/template.php","line":301,"function":"printPage","class":"OC\Template\Base","type":"->","args":[]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/base.php","line":690,"function":"printGuestPage","class":"OC_Template","type":"::","args":["","error",{"errors":[{"error":"Your data directory is invalid","hint":"Ensure there is a file called ".ocdata" in the root of the data directory."},{"error":"Your data directory is not writable","hint":"Permissions can usually be fixed by giving the webserver write access to the root directory. See https://docs.nextcloud.com/server/15/go.php?to=admin-dir_permissions."}]}]},{"file":"/usr/local/www/apache24/data/nextcloud/lib/base.php","line":1068,"function":"init","class":"OC","type":"::","args":[]},{"file":"/usr/local/www/apache24/data/nextcloud/index.php","line":40,"args":["/usr/local/www/apache24/data/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/usr/local/www/apache24/data/nextcloud/lib/private/Files/Node/Node.php","Line":97,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15","version":"15.0.5.3"}...
Probably some permission error...
But anyway. This happens after 2 days of installation. If this happens once a week this setup is not usable for me. Do you know if this just happens once after init or maybe is fixed with 11.2-U3?
Many thanks for your info!
from freenas-iocage-nextcloud.
...remaining error was caused of using /media/files as mount point and not /mnt/files. Maybe you could adjust this in your readme.
But when playing with setting mount points it happened again. All mount points where gone... Is this a problem of this setup or a problem in general with jails? This would be a really big bug wouldn't it? With a quick research I could not find a ticket for this do you know more about it?
from freenas-iocage-nextcloud.
from freenas-iocage-nextcloud.
Great to hear! I will update and let you know if any problems persist! Many thanks for helping out!
from freenas-iocage-nextcloud.
Related Issues (20)
- Redis issue on reinstall HOT 1
- Stopped nextcloud due to VNET failure: Failed to create jail HOT 4
- mariadb103 becomes unsupported in May 2023
- Cant access nextcloud via web after running script HOT 2
- Failed to create MariaDb database aborting HOT 4
- Nextcloud 27 - Major things broken HOT 1
- Failed to install Nextcloud HOT 11
- record size for database dataset: 16K or 32K? HOT 2
- Installation fails when using PostgreSQL
- Connect with IP address?
- 'Failed to download Nextcloud' HOT 8
- DNS challenge fails with ZeroSSL in Caddy in production, works in staging HOT 2
- cant access the Nextcloud url from inside my network on mobile devices HOT 1
- Unable to connect to nextcloud after successful install HOT 7
- download.htm "site wasn't available" when downloading a folder HOT 3
- Issues after fresh install using latest (new) Nextcloud version 29 HOT 3
- Installation fails when using Postgres (pgsql) HOT 7
- Certificate is not trusted HOT 5
- Error 13.2-Release not found HOT 2
- fault of my own, but how to recover a lost /etc/rc.conf file's contents
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freenas-iocage-nextcloud.