-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
Impossible to move datadir to USBdrive even on clean fresh install NCP 1.55.2 #1989
Comments
same problem |
Hi @Knubbel Thanks for your report. Could you run the following command and afterward run sudo sed 's/set -e -o pipefail/set -ex -o pipefail/' -i /usr/local/bin/ncp/CONFIG/nc-datadir.sh That would be very helpful to identify the issue. |
I did issue your command on the shell and then started the datadir change again in the webui. Afterwards my NC instance is broken again with the typical symptom of not being able to upload anything even though the system info now shows me the "new" datadir.
PS: After a reboot NC doesnt come back up, it stops at a white screen internal server error. So it is not just the failing uploads, the whole thing is broken after the tried datadir move. |
Ah, I suppose it was in a broken state after the previous attempt... 🤔 I'll try to reproduce the issue later this week (right now I'm not at home and lack the required hardware for testing). |
I'll close this for now. Feel free to reopen if you still have the issue |
So now I have tried setting up a fresh NCP instance on a 8GB Raspi 4 about 12-15 times using the image https://github.com/nextcloud/nextcloudpi/releases/download/v1.55.2/NextcloudPi_RaspberryPi4_v1.55.2.zip
And I have isolated two key problems of which I describe one here, because that is a severe roadblock for me currently to use NCP productively.
Scenario to reproduce:
For me as a noob user the NCP instance is fully und unrecoverbly broken from here on.
This same problem seems to happen even plugging in a completely fresh (not partitions) USB stick prior to starting the Setup-Wizard and then letting the setup wizard format it with a fresh BTRFS file system.
I have also tried it with a manual chmod 777 on the mounted USBstick location, but that did help either.
Please, please help me move my data dir to a USB stick.
If there is any manual sequence of commands to run so I can move the data dir and not kill my NCP instance in the process that would be great.
I am happy to provide any additional info you may request.
Error when uploading via webUI reads:
"Fehler beim Hochladen: Erwartete Dateigröße von 835644 bytes, aber 8192 bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein."
Errors in log while trying to move data dir reads:
The text was updated successfully, but these errors were encountered: