hi all
so i installed the nextcloud package from```html
https://software.opensuse.org/package/nextcloud
the opensuse 15.1 package versoin 15.0.7 but now how do i get it running or access it ?
hi all
so i installed the nextcloud package from```html
https://software.opensuse.org/package/nextcloud
the opensuse 15.1 package versoin 15.0.7 but now how do i get it running or access it ?
Well,
Is the LAMP server pattern installed?
You need a running webserver, a running mariadb / mysql server, a database with a user and password, then go http://127.0.0.1/nextcloud
Ok thanks for the reply … I thought perhaps the “package” installed everything needed.
can I follow this guide then https://lizards.opensuse.org/2016/10/28/nextcloud-installation-on-opensuse-leap/ ?
There’s also an openSUSE Nextcloud SDB: <https://en.opensuse.org/SDB:Nextcloud>.
ok great thanks … i did eventually find that link hehe
so i have started to follow the guide but i have a problem already … iam at the part for testing the apache install
To check if you apache server works, use you favorite text editor an create the index.html file in the /srv/www/htdocs/ folder with the following content:
when i try to save the index.html into the htdocs folder it says that i dont have permissions to save in that folder and if i try to copy the file into that folder it does not allow me to do so.
if i run ls -ld /srv i get this result
atlantica@Atlantica:~> ls -ld /srv
drwxr-xr-x 1 root root 28 Aug 25 09:13 /srv
atlantica@Atlantica:~>
i cant seem to find how to edit the permission at the moment :
Welcome to UNIX® and, everything that looks and smells like UNIX®, including Linux …
If you were to take a look at the permissions on the directory ‘/srv/www/htdocs’ you’ll notice the following:
> stat /srv/www/htdocs
File: /srv/www/htdocs
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 822h/2082d Inode: 1703938 Links: 3
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2019-03-11 17:09:08.000000000 +0100
Modify: 2019-03-11 17:09:08.000000000 +0100
Change: 2019-07-02 18:20:26.820010842 +0200
Birth: -
>
> ls -al /srv/www/htdocs/
total 28
drwxr-xr-x 3 root root 4096 Mar 11 17:09 .
drwxr-xr-x 9 root root 4096 Mar 11 17:09 ..
-rw-r--r-- 1 root root 302 Mar 13 2006 favicon.ico
drwxr-xr-x 2 root root 4096 Jul 2 18:25 gif
-rw-r--r-- 1 root root 45 Jun 11 2007 index.html
-rw-r--r-- 1 root root 2356 Jun 8 2018 info2html.css
-rw-r--r-- 1 root root 26 Jun 21 16:29 robots.txt
>
In other words, the owner is the user “root” and other users on the system only have read access to the directory – they do not have write access to the directory.
Even if the files had write access for other users, the other users would not be able to save any changes made to those files because, they don’t have write access to the directory itself …
(Install and ) use yast2’s http module. Set apache to start at boot, and open the firewall port, there’s a button for that. Next go to http://127.0.0.1 it should show “It works!”. If it does, then go to http://127.0.0.1/nextcloud
um yes i noticed … and so now iam stuck at that part lol
ok well what i have done so far is
Atlantica:~ # zypper in apache2
Retrieving repository ‘Main Update Repository’ metadata …[done]
Building repository ‘Main Update Repository’ cache …[done]
Loading repository data…
Reading installed packages…
‘apache2’ is already installed.
No update candidate for ‘apache2-2.4.33-lp151.8.3.1.x86_64’. The highest available version is already installed.
Resolving package dependencies…
Nothing to do.
Atlantica:~ # systemctl start apache2
Atlantica:~ # systemctl enable apache2
Created symlink /etc/systemd/system/httpd.service → /usr/lib/systemd/system/apache2.service.
Created symlink /etc/systemd/system/apache.service → /usr/lib/systemd/system/apache2.service.
Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /usr/lib/systemd/system/apache2.service.
also if i go to http://127.0.0.1 it says access forbidden but if i go to http://127.0.0.1/nextcloud i get the nextcloud blue login screen
if i open yast2 and search for http … which modules exactly are you refering to that i must install please?
This package contains the module: yast2-http-server. Install it, restart YaST2 and you should see it. But, you already have apache2 running now. Please show
ls -la /srv/www
ls -la /srv/www/htdocs
i seem to be making progress … in a search on the internet i found to run
sudo nano /srv/www/htdocs/index.html
and entered the following into the file above
<html>
<body>
<h1> It works!</h1>
</body>
</html>
nowwwwww when i open http://localhost i get a possitive test page that saysssssssssss “it works” ;)
as requested the output
atlantica@Atlantica:~> ls -la /srv/www
total 0
drwxr-xr-x 1 root root 26 Aug 25 08:38 .
drwxr-xr-x 1 root root 28 Aug 25 09:13 …
drwxr-xr-x 1 root root 0 Mar 11 18:09 cgi-bin
drwxr-xr-x 1 root root 68 Aug 30 19:36 htdocs
atlantica@Atlantica:~> ls -la /srv/www/htdocs
total 8
drwxr-xr-x 1 root root 68 Aug 30 19:36 .
drwxr-xr-x 1 root root 26 Aug 25 08:38 …
-rw-r–r-- 1 root root 57 Aug 30 19:36 index.html
-rw------- 1 root root 57 Aug 30 19:34 index.html.save
drwxr-xr-x 1 root root 432 Aug 29 18:40 nextcloud
atlantica@Atlantica:~>
To make sure nextcloud can access / write to its own files and folders do:
sudo chown wwwrun:www /srv/www/htdocs/nextcloud -R
Your next step should be setting up a mariadb ( mysql fork ) database. You can use the stock mysql commands, where I would start with running
sudo mysql_secure_installation
ok awsome … i think iam getting there lol thanks so much i really appritiate your help
now iam at this step but it does not like the “create” command
Atlantica:~ # create user nextclouduser@localhost identified by ‘mypass’;
If ‘create’ is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf create
Atlantica:~ #
You first need to start the mysql command line:
mysql -u root -p
Mind, this is not the system user ‘root’, but the mysql root user. If you ran mysql_secure_installation you have created a passwo… You should see “mysql>” as a prompt
:Olol!:D:good:
you should absolutly write up guides lol awsome thanks alotttttt
I’ve done a couple :D. In dutch though. Must say I don’t use the openSUSE packages. They weren’t existing when I started using Nextcloud, at least not in the version I wanted. So I used their zip file, setup a domain etc. and have used Nextcloud’s updater ( both web version and occ ) to upgrade/update. Hasn’t failed me so far. Good thing is it’s on a VPS that gets snapshotted every 4 hours, where the actual files are not included so still up to date
To add: I’ve got Collabora Online running as well, the LibreOffice version of Google Docs, so to say. If I find time I’ll add some things to the wiki pages.
ok so far so good … um i think lol everything installed and is running at the moment in the nextcloud “overview” it is showing this;
Security & setup warnings It’s important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the linked documentation for more information.
There are some warnings regarding your setup.
- Accessing site insecurely via HTTP. You are strongly adviced to set up your server to require HTTPS instead, as described in the security tips
.
- No memory cache has been configured. To enhance performance, please configure a memcache, if available. Further information can be found in the documentation.
- The PHP OPcache module is not loaded. For better performance it is recommended to load it into your PHP installation.
- Some columns in the database are missing a conversion to big int. Due to the fact that changing column types on big tables could take some time they were not changed automatically. By running ‘occ db:convert-filecache-bigint’ those pending changes could be applied manually. This operation needs to be made while the instance is offline. For further details read the documentation page about this.
[LIST]- filecache.mtime
- filecache.storage_mtime
[/LIST]
Please double check the [installation guides ↗](https://docs.nextcloud.com/server/15/go.php?to=admin-install), and check for any errors or warnings in the [log](http://localhost/nextcloud/index.php/settings/admin/logging). Check the security of your Nextcloud over [our security scan ↗](https://scan.nextcloud.com). Version **[Nextcloud](https://nextcloud.com) 15.0.7**
A new version is available: Nextcloud 16.0.4
i did try to install the php opcache from yast and then closed nextcloud and opened again but the warning was still there.
if i try to update the version with the “open updater” button it then says;
InitializingCurrent version is 15.0.7.
Update to Nextcloud 16.0.4 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-16.0.4.zip
Check for expected files The following extra files have been found:
[LIST]
- search
[/LIST]
i installed the nextcloud app on my ios device and if i try login with the app it says “it is not possible to connect tot the server at this time. the request timed out”
if i enter my server ip into the browser i get a error page saying “access through untrusted domain”
On the opcache: did you restart apache after adding the php package?
In /srv/www/htdocs/nextcloud/config/ there’s a file config.php. Modify it as per below, replace SERVER_IP by the server’s IP
'trusted_domains' =>
array (
0 => 'SERVER_IP',
Question: does the NC instance have a domain name?