Wath is my server?

I am Roberto
I am new on ownCloud
I have installed the programm and client on my desktop and on my android.
To start it ask me the "my server"?
Wath I must do it?

What you have to do is - type in the IP or Domain name of your ownCloud server.

Wath is my ownCloud server?
Were i can find it?

What do you mean by "programm"?

If you mean ownCloud server -> this is the IP you need

Yes, but what is the connection to your topic?

What should I do to be able to use owncloud?
Wath's my IP?

  • First:

What not Wath

  • Second:

how did you install ownCloud?

Did you use a manual or a "how to" of some sorts?

You have given few to none information about your setup, how should I be able to help you?

I installed ownCloud from the ownCloud site and I gave the command:

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/openSUSE:Tools.list"
sudo apt-get update
sudo apt-get install osc

wget -nv https://download.opensuse.org/repositories/openSUSE:Tools/xUbuntu_16.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update

how do I install my server?

do I have to give these commands too?

wget -nv https://download.owncloud.org/download/repositories/production/Ubuntu_16.04/Release.key -O Release.key
apt-key add - < Release.key

echo 'deb http://download.owncloud.org/download/repositories/production/Ubuntu_16.04/ /' > /etc/apt/sources.list.d/owncloud.list
apt-get update
apt-get install owncloud-files

Well that depends.

What is your operating system?

Ubuntu or Open Suse?

Ubuntu 16.04 LTS

then this would be correct

apt-key add - < Release.key
ERROR: This command can only be used by root.

echo 'deb http://download.owncloud.org/download/repositories/production/Ubuntu_16.04/ /' > /etc/apt/sources.list.d/owncloud.list
bash: /etc/apt/sources.list.d/owncloud.list: Permesso negato

apt-get update
Lettura elenco dei pacchetti... Fatto
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operazione non permessa)
E: Impossibile aprire il file di blocco /var/lib/apt/lists/lock - open (13: Permesso negato)
E: Impossibile bloccare la directory /var/lib/apt/lists/
W: Si è verificato un problema nell'eseguire l'unlink del file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permesso negato)
W: Si è verificato un problema nell'eseguire l'unlink del file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permesso negato)

apt-get install owncloud-files
E: Impossibile aprire il file di blocco /var/lib/dpkg/lock - open (13: Permesso negato)
E: Impossibile acquisire il blocco sulla directory di amministrazione (/var/lib/dpkg/). È necessario essere root.

In file manager there is an icon:
connect to the server
Server address?

You have to login as root

sudo -i

then enter your users's password

Then execute the commands from your previous post again.

Or you could install ownCloud manually:


W: Errore GPG: http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04 Release: Le seguenti firme non sono state verificate perché la chiave pubblica non è disponibile: NO_PUBKEY 4ABE1AC7557BEFF9
W: The repository 'http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04 Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

linux-image-extra-4.4.0-92-generic linux-image-extra-4.4.0-93-generic
linux-image-extra-4.4.0-96-generic linux-image-extra-4.4.0-97-generic
linux-image-extra-4.4.0-98-generic snap-confine ubuntu-core-launcher
Usare "sudo apt autoremove" per rimuoverli.
I seguenti pacchetti NUOVI saranno installati:
0 aggiornati, 1 installati, 0 da rimuovere e 10 non aggiornati.
È necessario scaricare 35,1 MB di archivi.
Dopo quest'operazione, verranno occupati 118 MB di spazio su disco.
Scaricamento di:1 http://download.owncloud.org/download/repositories/production/Ubuntu_16.04 owncloud-files 10.0.7-1.1 [35,1 MB]
Recuperati 35,1 MB in 6s (5.470 kB/s)
Selezionato il pacchetto owncloud-files non precedentemente selezionato.
(Lettura del database... 874797 file e directory attualmente installati.)
Preparativi per estrarre .../owncloud-files_10.0.7-1.1_all.deb...
Estrazione di owncloud-files (10.0.7-1.1)...
Configurazione di owncloud-files (10.0.7-1.1)...

In New account
Server address?
It asks me
What is it?

Okay, I don't understand your system's language.

I suggest you either do a manual installation with this manual:


or you can run my script. It will install ownCloud on your system.

Step 1.

nano owncloud-setup.sh

Step 2.

copy paste the following:


apt update && apt upgrade -y

apt install -y apache2 mariadb-server \
libapache2-mod-php7.0 php7.0-ldap \
php7.0-gd php7.0-mysql php7.0-curl \
php7.0-intl php7.0-mcrypt php-imagick \
php7.0-zip php7.0-xml php7.0-mbstring \
php-apcu ssh php-apcu \
wget nano bzip2 sudo inetutils-ping rsync \
smbclient coreutils

/bin/cat <<EOM >$FILE
Alias /owncloud "/var/www/owncloud/"

<Directory /var/www/owncloud/>
   Options +FollowSymlinks
   AllowOverride All

  <IfModule mod_dav.c>
   Dav off

  SetEnv HOME /var/www/owncloud
  SetEnv HTTP_HOME /var/www/owncloud


ln -s /etc/apache2/sites-available/owncloud.conf \

a2enmod rewrite
a2enmod headers
a2enmod env
a2enmod dir
a2enmod mime
a2enmod setenvif
service apache2 restart

wget https://download.owncloud.org/community/owncloud-10.0.7.tar.bz2
tar -xjf owncloud-10.0.7.tar.bz2

cp -R owncloud /var/www

chown -R www-data:www-data /var/www/owncloud/

service mysql start
mysql -u root -e "CREATE DATABASE IF NOT EXISTS owncloud; \
GRANT ALL PRIVILEGES ON owncloud.* TO admin@localhost IDENTIFIED BY 'password'";
cd /var/www/owncloud

sudo -u www-data php occ maintenance:install \
    --database "mysql" --database-name "owncloud" \
    --database-user "admin" --database-pass "password" \
    --admin-user "admin" --admin-pass "password"

sudo -u www-data php occ market:install gallery
cd /
/bin/cat <<EOM >$FILE
service apache2 start
service mysql start

chmod +x services.sh
echo "ServerName localhost" >> /etc/apache2/apache2.conf

sed -i "s#html#owncloud#" /etc/apache2/sites-enabled/000-default.conf

Step 3.

make the script executable:

chmod +x owncloud-setup.sh

Step 4.

execute this script by typing:


After this, you will have ownCloud installed on your system.

Type in

hostname -I

to get your servers IP address.

This is your "Server Adress" => IP/owncloud

1 Like

Failed to connect to the secure server address How do you wish to proceded?
Select a different URL
Retry unencrypted over HTTP (insecure)
Configure client-side TLS certificate

Failed to connect to ownCloud at HTTPS://
Connection refused

I'm not sure but maybe it helps to first get some basic understanding of the components in use here. I think that could include things like:

  1. Networking and IP address basics
  2. What is a web server and how to configure it?
  3. How to gather the info if my components are working and listening on the expected ip address / domain
  4. Maybe something additional i have missed

For 3. tools like ping, netstat, nmap and traceroute could help