Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: installed nextcloud package ... now what?

  1. #1

    Question installed nextcloud package ... now what?

    hi all

    so i installed the nextcloud package from
    HTML Code:
    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 ?

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,972
    Blog Entries
    14

    Default Re: installed nextcloud package ... now what?

    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
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: installed nextcloud package ... now what?

    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...opensuse-leap/ ?

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,559

    Talking Re: installed nextcloud package ... now what?

    @Angelus:

    There's also an openSUSE Nextcloud SDB: <https://en.opensuse.org/SDB:Nextcloud>.

  5. #5

    Default Re: installed nextcloud package ... now what?

    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

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,559

    Exclamation Re: installed nextcloud package ... now what?

    Quote Originally Posted by Angelus View Post
    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.
    Welcome to UNIX® and, everything that looks and smells like UNIX®, including Linux …
    • You're not using that Redmond “thing” …


    If you were to take a look at the permissions on the directory ‘/srv/www/htdocs’ you'll notice the following:
    Code:
     > 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.
    • In addition, the files in the directory are owned by the user “root” and, the other users on the system only have read access to those files.

    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 …

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,972
    Blog Entries
    14

    Default Re: installed nextcloud package ... now what?

    (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
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8

    Default Re: installed nextcloud package ... now what?

    Quote Originally Posted by dcurtisfra View Post
    Welcome to UNIX® and, everything that looks and smells like UNIX®, including Linux …
    • You're not using that Redmond “thing” …


    If you were to take a look at the permissions on the directory ‘/srv/www/htdocs’ you'll notice the following:
    Code:
     > 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.
    • In addition, the files in the directory are owned by the user “root” and, the other users on the system only have read access to those files.

    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 …
    um yes i noticed ... and so now iam stuck at that part lol


    Quote Originally Posted by Knurpht View Post
    (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
    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?

  9. #9
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,972
    Blog Entries
    14

    Default Re: installed nextcloud package ... now what?

    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
    Code:
    ls -la /srv/www
    ls -la /srv/www/htdocs
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  10. #10

    Default Re: installed nextcloud package ... now what?

    Quote Originally Posted by Knurpht View Post
    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
    Code:
    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:~>

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •