Nextcloud - First Login

Nextcloud – Installation on shared hosting & first steps

back to A Personal Cloud – But How and Why

To run your own personal cloud you have to install the server component somewhere. After that you can access it from everywhere in the world with every suitable device. The best and most personal scenario would be to do that on your own machine in the place where you live. It is possible to do it on a PC or even a Raspberry Pi but unfortunately the upload speed of many internet connections is not high, so often this option isn’t an option. For example in the little village in France where I live the upload speed is 0.8 Mbps.

Internet connection speed
Internet connection speed in Fitou, France

The second best choice is a shared hosting environment. You have to pay for it (<10€ per month), it’s easy to handle and managed by the hosting company. Usually you can create databases, FTP users and more features.
You could also go for a cloud or a dedicated server but then you have to deal with server updates and configurations and it’s probably more expensive.

The easiest way to set up your personal cloud in a shared hosting environment is the Nextcloud web installer.


The Nextcloud web installer checks the dependencies, downloads the Nextcloud files from the official server, unpacks it with the right permissions and the right user account. Finally, you will be redirected to the Nextcloud installer.
You’ll find it in the download area (

Nextcloud - Webinstaller
Nextcloud – Webinstaller

Download the file setup_nextcoud.php, upload it to your shared hosting environment and point your web browser to http://[your_domainname]/setup-nextcloud.php.

The Nextcloud Setup Wizard appears. Click the Next button.

Nextcloud - Setup Wizard
Nextcloud – Setup Wizard

Now you have to decide if you want to install Nextcloud in the current directory (enter a single “.” to install ), or in a subdirectory (default name is nextcloud).

I want to have my personal cloud in the current directory so I enter a dot.

Nextcloud Setup Wizard - Directory
Nextcloud Setup Wizard – Directory

Now the web installer loads all the necessary files from the Nextcloud servers and tells you that Nextcloud is installed. Click the Next button.

Nextcloud - Web Installer - Success
Nextcloud – Web Installer – Success

Next step is to decide whether you want to use SQLite as a database or MySQL/MariaDB. The advantage of SQLite is that it is inbuilt in PHP and if you have a shared hosting without a database SQLite would be the way to go. But for performance reasons, especially when using the desktop client for file syncing the use of SQLite is discouraged.

Because I want to do exactly this I decided to create a database and a database user in cPanel (administration tool of my provider) and use it for my personal cloud. Fill the fields with the db credentials and choose a username and a password for the admin account. Click the Finish setup button.

Nextcloud - database configuration
Nextcloud – database configuration

Your database will be used and configured by the Nextcloud setup wizard and after that you see the big welcome screen.

Nextcloud - First Login
Nextcloud – First Login

Your Nextcloud server is now ready to use. You can use apps to sync your data from your mobile and your desktop.

But before we install clients, have a look around. Behind the link with you name in the right top corner are most options to configure your personal cloud. In the left top corner are the active apps. You can add more apps by clicking the +. In the middle of the screen are the default folders Documents and Photos with some example files. In the left bottom corner is a settings link which displays the possible settings depending on the page you are. Remember that you are now connected as the godfather of users with all possible administration rights.

Nextcloud - Dashboard
Nextcloud – Dashboard

It’s a good idea to create a user account for each “real” user in your cloud and leave the admin account for administration purpose.

Create a user

Creating a user is simple. Click on your user name -> users and add the desired person. You just need a name and a password. Then you can logout and login again as a “real” user. When you click the same menus as before you’ll notice that it’s not possible anymore to add apps or configure your personal cloud.

Nextcloud - Create User Account
Nextcloud – Create User Account

Even if we haven’t configured anything else, it’s possible to use your personal cloud. You can play around and upload a file via your browser.

iOS Client

I’m using an iPhone, so I install the Nextcloud App (0.99 Euro) to sync my files and automatically upload my photos from my mobile to my shiny new personal cloud. In the app you can just enable the camera upload.

Nextcloud iOS App
Nextcloud iOS App

BTW – this is the first photo I took after activating the photo upload and it simply worked.

Wohoo! The first photo in my personal cloud ;)
Wohoo! The first photo in my personal cloud 

What have I achieved so far?

I was able to setup the Nextcloud server on my shared hosting space. I installed the iOS app on my mobile and configured the automatic camera upload.

My photos are now in my personal cloud!

For today it’s enough, I’ll take a few photos in the next days and come back soon with my experiences.



, ,



10 responses to “Nextcloud – Installation on shared hosting & first steps”

  1. Vista Avatar

    Can the admins at the shared hosting company access and view my database and files I store in Nextcloud? – I have some sensitive financial information of clients I don’t want to expose to anyone

    1. Hagen Graf Avatar

      You can encrypt all the files but the content of the database is viewable. Have a look in the tables, if that is ok for you.

  2. Guido van Harten Avatar
    Guido van Harten

    Where can I find the php.ini to finetune my security settings, as described in the admin panel?

    1. Hagen Graf Avatar

      This depends on the company where you are hosting. Usually they have something like cPanel where you can edit the php.ini.

  3. Kapil Raj Avatar

    In dependency check during installation i’m facing 500 internal error. what to do?

  4. RWB Avatar

    Working with the installer to install on a shared hosting service, I keep getting errors, e.g., Error while trying to create admin user: Failed to connect to the database: An exception occured in driver: SQLSTATE[42000] [1044] Access denied for user ‘xxx_rbadmin’@’localhost’ to database ‘xxx_myplace’
    I tried specifying local host as well as my IP address, followed by 3306 which is supposed to be the port for my MySQL DB. I can get SQLite going but not MySQL. Many have posted such complaints on various fora before but I see no answer that helps me.

  5. Passed Through Avatar
    Passed Through

    Are you crazy setting up this unreadable font?)) You’re distracting most adequate people :)

    1. hagengraf Avatar

      It’s my hand writing and it’s my blog 😉

    2. Ulrich Maasmeier Avatar

      That’s what reader mode is for on such sites.

  6. Varun Avatar

    Trying to install it on my shared hosting, but it’s throwing me during dependency check error saying “Dependencies not found.
    The following PHP modules are required to use Nextcloud” even after changing the PHP version on my hosting & verifiying it through my terminal with “php -v” [PHP 7.3.15 (cli)]

Leave a Reply

Leave a Reply