First time user of NCP - Do i need to move NCP from ext2/ext3 to btrfs ?

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    31.0.5.1
    NextcloudPi version v1.55.4
  • Operating system and version (e.g., Ubuntu 24.04):
    Armbian-unofficial 24.8.2 Bookworm \l . 6.6.45-current-bcm2712 (aarch64)
  • Web server and version (e.g, Apache 2.4.25):
    • replace me
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    not using i think
  • PHP version (e.g, 8.3):
    • replace me
  • Is this the first time you’ve seen this error? (Yes / No):
    yes
  • When did this problem seem to first start?
    when i tried to use ncp snapshot
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    used NextcloudPi_RaspberryPi5_v1.55.3 image
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    no

Summary of the issue you are facing:

Sorry but i am a beginner novice of linux.

I have used NC on unbuntu on a pc for about 3 yrs by using snap but drive space running out.

Bought new rasp pi 5 with a dual nvme slot hat and 1 western digital nvme 1TB ssd

After several days and attempts of trying to re-install NC using snap onto unbuntu and also tried docker and portainer on the raspi my 60 yr old brain failed trying to get https and other things to work , i nearly gave up but i then found NextCloudPi

I successfully used balenaetcher to burn the NextcloudPi_RaspberryPi5_v1.55.3 image onto the nvme and change boot order.
It took 2 days to work out how to get the lets encrypt and 2FA working and now NCP working great however whilst trying the ncp snapshot to back up the ncp configuration error message not btrfs file system.

At what point during NCP install did i miss the option to set btrfs ?
How do i “migrate” my working setup to btrfs ?
Is there another way to back up the ncp config in case of new drive restore ?
Do i really need btrfs

An idea as i have a dual slot nvme hat and to purchase a 2nd 1Tb nvme , move ncp from nvme 1 (ext3) to nvme 2 (btrfs) , turn off pi , remove 1st nvme and move 2nd nvme to slot 1 and reboot

But how do i do the “move ncp from nvme 1 to nvme 2” ?

the actual data files do not have to move as i can transfer those from one of nc client devices

[…]

Steps to replicate it (hint: details matter!):

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

PASTE HERE

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

it would have been much easier simply migrating the working snap:

as for https:

good mileage, keep going and don’t give up :+1:

Hi Leslie,

Reading your post, I think I’m running a similar setup (home user, intermediate Linux knowledge) and had similar questions.
I am running a NexctcloudPi instance for some years now: Started on RPI3, moved to RPI4 - both setups based on NextcloudPi_RPI-images. (Meanwhile i moved to Intel-Hardware using NextcloudPi “clean Debian installation” via CURL-Script).

My answers / based on my experience:

No. From my point of view - it’s nice to have. I never made it that far :slight_smile:

From my understanding, NCP scripts do support BTRFS out of the box for external USB-Drives “only”. Please have a look at https://help.nextcloud.com/t/how-to-configure-an-external-usb-drive-with-nextcloudpi/126376

However - if you are able / willing to deepdive into maintaining /etc/fstab manually (without NCP script support) you should be able to add your NVM / SSD drives (including BTRFS filesystem).
You’ve probably already done this anyway to get your “dual nvme slot / 1 western digital nvme 1TB ssd” up and running?

Best regards
schoetju