Nextcloud Tutorial 1 - Building Nextcloud on CPanel

Nextcloud Tutorial 1 – Building Nextcloud on CPanel

This is the easiest way to install Nextcloud; probably does not need a specific tutorial, but here is for those who want Nextcloud pretty simply. Let me know in the comments more ideas you want to see as I build out this series.

Want to support the channel?
Check out our page on

Have a look at my Patreon page:

We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to and affiliated sites.

The following is the equipment used by Switched to Linux:

Main Amazon Site –

Studio Light – Studio Light –
Logitech c920 –
Logitech c615 –
Samson Meteor Mic –

24 thoughts on “Nextcloud Tutorial 1 – Building Nextcloud on CPanel

  1. i used Let's encrypt on my local setup, is this required when I do it on the cpanel? I got this installed this video was a great help but my site SSL isn't used here, do I need another SSL for this?

  2. I'm getting this message "Setting locale to en_US.UTF-8/fr_FR.UTF-8/es_ES.UTF-8/de_DE.UTF-8/ru_RU.UTF-8/pt_BR.UTF-8/it_IT.UTF-8/ja_JP.UTF-8/zh_CN.UTF-8 failed

    Please install one of these locales on your system and restart your webserver"

  3. Hey thanks for taking the time to create the tutorial! I followed along but get the following error when I hit finish: "Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory"
    Do I need to create another user in my database to match the admin user details?
    Any help would be greatly appreciated!

  4. Hi StL, with your instructions I have enjoyed NC 16 for many month, so big thanks. Unfortunately after been asked to upgrade php to 7.3 now all what I get is server maintenance, no way to log in. I'll appreciate if you can point out where and how I may fix the issue. Thank you again for the good job you are doing for us.

  5. Hi there, thanks for this tutorial!. did any of you had an error just finishing the setup, inside de admin account saying "You don't have permission to upload or create files here" ?. I've already checked the data folder permissions and they are ok.

  6. Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[28000] [1045] Access denied for user 'u9271696_nextclo'@'localhost' (using password: YES)


  7. Hey Tom, qeuestion for you I'm looking setup nextcloud at home behind pfsense, can you recommend domain provider who supports automatically obtaining lets encrypt certificates rather than the manual dns way so i can get certificates for pfsense and the nextcloud vm

  8. Hi, I followed the steps but I get this message
    Dependencies not found.

    The following PHP modules are required to use Nextcloud:

  9. So… if I am understanding this right, this is actually a program I can install on my home file server and it will basically be like Google docs but at home? Wow, I thought it was just another cloud service.

    I would REALLY like to start a file server for various small businesses to rent to have a local email server, etc. where they can basically come into the office, if they wanted to and look at everything up front.

  10. what's the difference between installing nextcloud in subdomain and subfolder? my friend mentioned if I put it as a subdomain, the cloud will get good google index. but that's not my focus on installing nextcloud. any other differences?

  11. 11:33 Thank you for the video. But unfortunately when I press on Finish Setup I get

    Internal Server Error

    The server was unable to complete your request.

    If this happens again, please send the technical details below to the server administrator.

    More details can be found in the server log.

    I basically did all the same things you did in the video, do you know what It could be?

  12. I got "Dependencies not found.
    Can't write to the current directory. Please fix this by giving the webserver user write access to the directory." on the setup page, how to solve this?

  13. Hi Switched to Linux. Thank you for the brilliant tutorial. I have a problem at the moment wondering if you can help. I get an error that seems to be for .pdf above 10mb:

    24/10/2018 17:39:31,Folder/document-title.pdf, Nextcloud,Continue blacklisting: Error transferring – server replied: Not Acceptable

    I've searched everywhere for a solution but every solution I've found people point to files I cannot find in the file manager i.e. /etc/docker-gen/templates/nginx.tmpl

    I'm guessing this is referring to an instance not on shared hosting like I've done.

    Thank again, Liam

  14. Hi Bro, It's really a Nice tute. I'm having problem in check for dependency. if i let the field empty(as in video duration 9.48) it doesn't accept. in that case what I've to mention.

  15. Great video! Thanks for this tutorial. I've been using nextcloud for some time now and owncloud before. I have it setup in a jail on my NAS using nas4free. May look at the cpanel option at some stage.

Leave a Reply

Your email address will not be published. Required fields are marked *