How to Disable Sign Up for Cloudreve

Cloudreve

Cloudreve offers a place for files and folders in a personal space. People upload items such as documents or music without fuss. Users control access through clear rules. Many trust it for its freedom over stored data. They enjoy a neat interface for daily tasks. The system includes access controls and password locks. It runs on personal setups and avoids outside services. This tool supports multiple ways to store content and helps folks share items. It stands out as a flexible option. People find it reliable for important files.

How to Disable Registration (Sign Up) Option for Cloudreve

Locate the file “cloudreve.db” in your hosting or filesystem. It will be in the same folder where your Cloudreve installation files are saved, and then go that exact folder using the terminal.

cd /path/to/cloudreve

Now type the following and press Enter key to get access to cloudreve.db

sqlite3 cloudreve.db

Run this command to disable Sign Up

UPDATE settings SET value='0' WHERE name='register_enabled';

Verify by running the following command if it was disabled.

SELECT name,value FROM settings WHERE name='register_enabled';

After running the above command, you should see the following that means it disabled successfully

register_enabled|0

Now you can exit using the exit command that is as follows

.exit

Restart: If you are managing via Docker, restart the docker instance. If you are managing with PM2, you can simply restart using the following command

pm2 restart cloudreve

Now use an incognito window to visit the domain/IP you used to install Cloudreve. If Sign Up option still appears, try clearing browser’s cache.

Note: If you visit the sign up page directly in the address bard, e.g. https://www.techgrapple.com/signup, it will still open the Signup page. But, if you try to register, you will get the error that this feature is not enabled.