Installing Nextcloud on Linode


I created a Linode server using Ubuntu and have installed Cyberpanel to manage my websites. I wanted t o use this server to set up a Nextcloud server as well. I have 4 websites on the server, one is my personal, - I wanted to add a for my nextcloud services. I have updated the DNS and started following the setup instructions I found on this blog: How To Install Nextcloud On An Ubuntu Server | Linux Journal.

I have installed apache and set up a config file for the cloud website and enabled it. When I try to start apache, I get the following error:

Jun 23 15:27:20 localhost apachectl[690]: AH00558: apache2: Could not reliably determine the server’s fu>
Jun 23 15:27:20 localhost apachectl[690]: no listening sockets available, shutting down
Jun 23 15:27:20 localhost apachectl[690]: AH00015: Unable to open logs
Jun 23 15:27:20 localhost apachectl[666]: Action ‘start’ failed.

Any advice as to how I can get apache and Cyberpanel to work together?

I was able to get this figured out. Here is what I did.

  • Created a new website in Cyberpanel
  • Logged in at the command prompt to the server using SSH
  • Downloaded the latest version of NextCloud
  • Created a user on mariadb with all privileges
  • Unzipped the Nextcloud download
  • Changed owner of Nextcloud Folder
    sudo chown -R www-data:www-data NextCloudRootFolderName
  • Moved my nextcloudfolder and replaced the root folder of the website I created in Cyberpanel
  • Through Cyberpanel, I made sure the PHP config file (8.0) was set up properly
  • Loaded website in browser
  • filled in the form which created the admin user and the database and install

I used this link as a reference.

1 Like