How to use Dropbox on non-Ext4 file systems (Btrfs, Ext3, XFS, ZFS, etc.) on Linux

You may already know that Dropbox has discontinued support for syncing folders to drives with “uncommon” file systems, on Linux, this means except Ext4. Therefore, if the Dropbox folder is located on Btrfs, Ext3, ZFS, XFS, etc., or even on eCryptfs on the Ext4 file system, Linux Dropbox users will not be able to sync files. You can check Dropbox desktop system requirements HereIf you cannot switch to another cloud storage provider or use the Ext4 file system without eCryptfs in the Dropbox folder location, you can use a simple tool called Dropbox file system repair, Can solve this Dropbox limitation, no matter what file system type is used, the Dropbox desktop client can continue to synchronize files.

Dropbox should have End of support Used to synchronize files on an unusual file system on November 7, 2018. I still receive old notifications from Dropbox, but say “Dropbox will stop syncing. Move your Dropbox folder to a supported file system.” However, some user A new notification has started to be received that reads “Your Dropbox folder is on a file system that is no longer supported”, with buttons to exit Dropbox, view the request or move the Dropbox location.
dropbox-filesystem-fix should “fix” this problem so that your Dropbox folder looks like it is on an unencrypted Ext4 file system.
The process of making Dropbox work on a non-Ext4 partition through dropbox-filesystem-fix involves stopping Dropbox from using its original autostart item, and replacing it with a preloaded library python script, both of which are provided by the dropbox-filesystem-fix project. You don’t need to move the Dropbox folder or install files in Ext4 format to use this function. You will continue to use Dropbox in the same way as before. Below, you will find step-by-step instructions on how to use dropbox-filesystem-fix.
The project page mentions: “This is an experimental fix and is not supported by Dropbox. It may cause data loss”, so please keep this in mind when using it. Due to changes in Dropbox, the solution may stop working at any time.
It should also be noted that if the file system you are using does not support extended attributes, you may encounter problems, which is why Dropbox mentioned that it gave up support for non-Ext4 on Linux. After being enabled in the kernel configuration, although there are multiple file systems that support extended attributes, including Ext3, Ext2, Btrfs, XFS, JFS, etc.
[Updated] Another way to continue using Dropbox with non-Ext4 / encrypted file systems is to use Maestral, a new open source Dropbox client for macOS and Linux.

How to make Dropbox work with non-Ext4 file systems

These instructions assume that you have Dropbox installed on the Linux desktop. If Dropbox is not installed on your system, please install it first.
1. Install Git (get the latest dropbox-filesystem-fix code) and build-essential (compile).
In Debian, Linux Mint, Ubuntu, basic OS and other Debian or Ubuntu based Linux distributions, install Git and build-essential using the following commands:

sudo apt install git build-essential

2. Get the latest Dropbox file system repair Compile the source code through Git:

git clone
cd dropbox-filesystem-fix

Named Should be in dropbox-filesystem-fix The folder after running make.
You can also download the code using the following code ZIP download.
3. Move dropbox-filesystem-fix Folder to /opt And mark As an executable file:

sudo mv dropbox-filesystem-fix /opt/
sudo chmod +x /opt/dropbox-filesystem-fix/ Need to be in the same folder as, So do n’t move it to /usr/local/bin/ Or other folders.
You can try now. This is not how you will use dropbox-filesystem-fix, but only one attempt to see that it actually solves the problem of Dropbox non-Ext4 file system synchronization on the system. To try it out, make sure Dropbox is not running-you can stop it with the following command:

dropbox stop

Now, use the following command instead of running it directly to start Dropbox:


If you have not received any file system related notifications from Dropbox, it means that dropbox-filesystem-fix can work normally, and you can continue to use dropbox-filesystem-fix to replace the original Dropbox startup item. script.
4. Prevent Dropbox from starting automatically.
The original Dropbox auto-start entry needs to be deleted / disabled, so we can use Script instead.
Uncheck Dropbox to make it inoperative at startup Start Dropbox on system startup Checkbox Dropbox Preferences, In General label. You can also run the following command to prevent Dropbox from starting automatically:

dropbox autostart n

The Dropbox help mentioned that this command may only be valid in the current Ubuntu distribution. You can verify if Dropbox has been removed from the startup application by launching Startup Applications Or the equivalent button in the menu-it should no longer show Dropbox.
If Dropbox still shows Startup Applications Or run or start, you can force it to stop automatically by changing it Exec Line up ~/.config/autostart/dropbox.desktop From Exec=dropbox start -i to Exec=And make the file immutable, so it cannot be overwritten by Dropbox. You can perform these two operations by running the following command:

sed -i 's/^Exec=.*/Exec=/' ~/.config/autostart/dropbox.desktop
chattr +i ~/.config/autostart/dropbox.desktop

5. Add a custom Dropbox startup entry.
Now you need to open Startup Applications Or an equivalent function application menu, then add a file called Dropbox fix Enter the following in the command field: /opt/dropbox-filesystem-fix/
You can also create a file called dropbox-fix.desktop In ~/.config/autostart/ Has the following content:

[Desktop Entry]
Name=Dropbox fix

Now logout / login and Dropbox (which starts automatically at login as before) should be used with your Btrfs, Ext3, ecryptfs on top of Ext4, etc.
In case you closed Dropbox, please do not run it from the menu, because the entry does not use dropbox-filesystem-fix. Run it with /opt/dropbox-filesystem-fix/ Or use the following methods to create a new desktop file for Dropbox: /opt/dropbox-filesystem-fix/ As a command and put it in ~/.local/share/applications/. However, in most cases, Dropbox is not launched from the application menu, so for most users, the automatic startup changes made above should be sufficient.