-
-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZFS doesn't mount the second drive /mnt/ncdata (.ocdata missing due to that) #1204
Comments
Send me an email and refer to this issue and we can book a session and have a look. |
Hi,
I’m ready.
What do you need me to do?
|
Let's keep the everything in one issue. This is also related: #1203 I'll have a look at Hyper-V deployment tomorrow, it's bed time here. |
So I think I may have a solution. Please try this script: https://github.com/nextcloud/vm/blob/master/static/change-to-zfs-mount-generator.sh Before you run it, make a snapshot of your VM and:
Thanks! |
Thank you, Daniel. I’ll try this in the morning
Had to deal with some power issues Tues evening. And it finally coming back early this morning. So, havnt been able to play with the VM
I did figure out that the .ocdata issue was because there was nothing in the /mnt/ncdata folder. I touched it. Now i have a permissions issue. Since i have time i dont mind figuring it out myself.
I’ll try your steps tomorrow. See what happens.
John
|
Important before you run the script: remove any changes you did to /mnt/ncdata So in your specific case, I would:
|
OK, I just got it confirmed, the fix works on a broken system. @jwallmon Could you please also confirm? I will push this to master now |
Ok... took me a bit of time to figure out how to get the raw file from github. I work with Windows computers all day & still figuring out the behind the scenes of Ubuntu.
Yep. It also worked for me. No more ZFS error when it boots up.
I made it to the logon screen & am now logged in.
Now I can work on configuring it for our company- Active Directory, Outlook integration, etc.
Thank you.
John
|
Thank you very much for confirming! Now I feel confident this is the fix. Have a nice weekend! |
FYI: This is now completely fixed. Just uploaded all new versions of VMs with the latest patch. |
Unfortunately I have to run the ./change-to-mount-generator.sh file after every restart. Is there a permanent solution here? Thanks in advance |
Steps to reproduce
Expected behaviour
i should see the nextcloud logon page
Actual behaviour
no blue logon page. white background. black text...
Your data directory is invalid Ensure there is a file called ".ocdata" in the root of the data directory. Your data directory is not writable Permissions can usually be fixed by giving the webserver write access to the root directory. See https://docs.nextcloud.com/server/18/go.php?to=admin-dir_permissions.
Server configuration
Nextcloud server version: (see your admin page)
Server OS (Ubuntu server is default)
ubuntu
How did you install the VM? (Scripted install from master OR Released version)
Network
Do you use DHCP?
no. static ip.
Is port 80 and/or 443 open?
yes
Logs / Screenshots
Log file (/var/log/nextcloud/nextcloud.log)
Installation log (command output)
Screenshoots
The text was updated successfully, but these errors were encountered: