Nextcloud Running on Raspian
-
Looks like you need to add the php7 repo. Check the link in my last post.
-
It's definitely PHP 7. This is a thing that occurs with the newer versions of NextCloud.
-
well now I have a page that looks like this:
But I just finished @coliver page and am back to the NextCloud install
-
@gjacobse said in Nextcloud Running on Raspian:
well now I have a page that looks like this:
But I just finished @coliver page and am back to the NextCloud install
From memory this is a permissions issue. it's the chmod/chown part of JB's guide I think if you check that out (obviously changing some of the info to match whatever directories you created etc)
https://mangolassi.it/topic/10963/install-nextcloud-10-x-on-centos-7-minimal
-
@wirestyle22 said in Nextcloud Running on Raspian:
@gjacobse said in Nextcloud Running on Raspian:
well now I have a page that looks like this:
But I just finished @coliver page and am back to the NextCloud install
From memory this is a permissions issue. it's the chmod/chown part of JB's guide I think if you check that out (obviously changing some of the info to match whatever directories you created etc)
https://mangolassi.it/topic/10963/install-nextcloud-10-x-on-centos-7-minimal
Just off the top of my head
chown -R apache2:apache2 /var/www/html
-
@travisdh1 said in Nextcloud Running on Raspian:
@wirestyle22 said in Nextcloud Running on Raspian:
@gjacobse said in Nextcloud Running on Raspian:
well now I have a page that looks like this:
But I just finished @coliver page and am back to the NextCloud install
From memory this is a permissions issue. it's the chmod/chown part of JB's guide I think if you check that out (obviously changing some of the info to match whatever directories you created etc)
https://mangolassi.it/topic/10963/install-nextcloud-10-x-on-centos-7-minimal
Just off the top of my head
chown -R apache2:apache2 /var/www/html
sudo chown -R apache2:apache2 /var/www/html chown: invalid user: ‘apache2:apache2’
-
@gjacobse said in Nextcloud Running on Raspian:
@travisdh1 said in Nextcloud Running on Raspian:
@wirestyle22 said in Nextcloud Running on Raspian:
@gjacobse said in Nextcloud Running on Raspian:
well now I have a page that looks like this:
But I just finished @coliver page and am back to the NextCloud install
From memory this is a permissions issue. it's the chmod/chown part of JB's guide I think if you check that out (obviously changing some of the info to match whatever directories you created etc)
https://mangolassi.it/topic/10963/install-nextcloud-10-x-on-centos-7-minimal
Just off the top of my head
chown -R apache2:apache2 /var/www/html
sudo chown -R apache2:apache2 /var/www/html chown: invalid user: ‘apache2:apache2’
Must have a different user for the html server than I'm used to on Debian.
-
Started from Zero and and going step by step with this new information. It would have taken ME longer to find and remove all the files and folders from Nextcloud,... so starting from a fresh install was easier and faster.
Apache2 is running and confirmed. someone want a rematch on AOE II right now.
-
Okay - got to this stage:
Next we’ll test PHP. Run the following command to create a test file:
echo "<?php phpinfo();" >> /var/www/html/phpinfo.php
and get:
pi:~ $ echo "<?php phpinfo();" >> /var/www/html/phpinfo.php -bash: /var/www/html/phpinfo.php: Permission denied pi:~ $ sudo echo "<?php phpinfo();" >> /var/www/html/phpinfo.php -bash: /var/www/html/phpinfo.php: Permission denied
trying
sudo chmod -R o+rw /var/www
That worked.
-
Have it good perfomance?
Previous versions of Owncloud were very slow in Raspberry.
Regards
-
I'm willing to bet that even with the Raspberry Pi 3 it's still on the slower side. Glad you got it working @gjacobse
-
@iroal said in Nextcloud Running on Raspian:
Have it good perfomance?
Previous versions of Owncloud were very slow in Raspberry.
Regards
Good performance != Raspberry Pi, ever.
-
I had to step back from this last night before unpacking NC and proceeding with the next step(s).
Right now I am at the point of doing the Apache Configuration:
On Debian, Ubuntu, and their derivatives, Apache installs with a useful configuration so all you have to do is create a /etc/apache2/sites-available/nextcloud.conf file with these lines in it, replacing the Directory and other filepaths with your own filepaths:
Alias /nextcloud "/var/www/nextcloud/" <Directory /var/www/nextcloud/> Options +FollowSymlinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/nextcloud SetEnv HTTP_HOME /var/www/nextcloud </Directory>
When I try to do this, I get
[error writing /etc/apache2/site-avialable/nextcloud.conf: no such file or directory]
-
@gjacobse said in Nextcloud Running on Raspian:
I had to step back from this last night before unpacking NC and proceeding with the next step(s).
Right now I am at the point of doing the Apache Configuration:
On Debian, Ubuntu, and their derivatives, Apache installs with a useful configuration so all you have to do is create a /etc/apache2/sites-available/nextcloud.conf file with these lines in it, replacing the Directory and other filepaths with your own filepaths:
Alias /nextcloud "/var/www/nextcloud/" <Directory /var/www/nextcloud/> Options +FollowSymlinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/nextcloud SetEnv HTTP_HOME /var/www/nextcloud </Directory>
When I try to do this, I get
[error writing /etc/apache2/site-avialable/nextcloud.conf: no such file or directory]
@gjacobse said in Nextcloud Running on Raspian:
I had to step back from this last night before unpacking NC and proceeding with the next step(s).
Right now I am at the point of doing the Apache Configuration:
On Debian, Ubuntu, and their derivatives, Apache installs with a useful configuration so all you have to do is create a /etc/apache2/sites-available/nextcloud.conf file with these lines in it, replacing the Directory and other filepaths with your own filepaths:
Alias /nextcloud "/var/www/nextcloud/" <Directory /var/www/nextcloud/> Options +FollowSymlinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/nextcloud SetEnv HTTP_HOME /var/www/nextcloud </Directory>
When I try to do this, I get
[error writing /etc/apache2/site-avialable/nextcloud.conf: no such file or directory]
Make sure it's sites-available ... ?
-
ran this thinking it would allow me to create the file
sudo chmod -R o+rw /etc/apache2/sites-available/
same issue.. unable to create the file
-
@dafyre said in Nextcloud Running on Raspian:
Alias /nextcloud "/var/www/nextcloud/"
<Directory /var/www/nextcloud/>
Options +FollowSymlinks
AllowOverride All<IfModule mod_dav.c>
Dav off
</IfModule>SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud</Directory>
Ah - thanks - didn't catch that.
-
Looks like I missed something...
Starting with a simple reboot - then will step backwards
-
@gjacobse said in Nextcloud Running on Raspian:
Looks like I missed something...
Starting with a simple reboot - then will step backwards
Might have to manually install all of those, the meta-package may not be working in Rasbian
-
That is what I am doing now. Thanks to @coliver command:
apt-cache search php
I see the full context of the module.
-
Boom!