Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

How to access Grav on Raspberry Pi

Started by Kevin 7 years ago · 1 replies · 699 views
7 years ago

Hi there,

I installed Nextcloud on my Raspberry Pi. At the moment I can only access the Pi within my own network. HTTP access works by typing in the IP.

On the same Pi I installed Grav using this tutorial. I did not change the hosts file.

TXT
  ls -l

insgesamt 40
drwxr-xr-x 2 pi pi 4096 Sep 17 16:55 Desktop
drwxr-xr-x 2 pi pi 4096 Sep 17 16:55 Documents
drwxr-xr-x 2 pi pi 4096 Sep 17 16:55 Downloads
drwxr-xr-x 2 pi pi 4096 Jul 10 02:15 MagPi
drwxr-xr-x 2 pi pi 4096 Sep 17 16:55 Music
drwxr-xr-x 2 pi pi 4096 Sep 17 16:55 Pictures
drwxr-xr-x 2 pi pi 4096 Sep 17 16:55 Public
drwxr-xr-x 2 pi pi 4096 Sep 17 16:55 Templates
drwxr-xr-x 2 pi pi 4096 Sep 17 16:55 Videos
drwxr-xr-x 3 pi pi 4096 Sep 18 18:15 www
➜ ~ cd www
➜ www ls -l
insgesamt 10696
drwxrwxr-x 14 pi pi 4096 Aug 21 23:12 grav
-rw-r--r-- 1 pi pi 10946907 Aug 21 23:15 grav-blog.zip
➜ www cd grav
➜ grav ls -l
insgesamt 416
drwxrwxr-x 2 pi pi 4096 Aug 21 23:12 assets
drwxrwxr-x 2 pi pi 4096 Aug 21 23:12 backup
drwxrwxr-x 2 pi pi 4096 Aug 21 23:12 bin
drwxrwxr-x 2 pi pi 4096 Aug 21 23:12 cache
-rw-rw-r-- 1 pi pi 136364 Aug 21 23:12 CHANGELOG.md
-rw-rw-r-- 1 pi pi 3216 Aug 21 23:12 CODE_OF_CONDUCT.md
-rw-rw-r-- 1 pi pi 3755 Aug 21 23:12 composer.json
-rw-rw-r-- 1 pi pi 199559 Aug 21 23:12 composer.lock
-rw-rw-r-- 1 pi pi 7098 Aug 21 23:12 CONTRIBUTING.md
drwxrwxr-x 2 pi pi 4096 Aug 21 23:12 images
-rw-rw-r-- 1 pi pi 1690 Aug 21 23:12 index.php
-rw-rw-r-- 1 pi pi 1071 Aug 21 23:12 LICENSE.txt
drwxrwxr-x 2 pi pi 4096 Aug 21 23:12 logs
-rw-rw-r-- 1 pi pi 76 Aug 21 23:12 now.json
-rw-rw-r-- 1 pi pi 6701 Aug 21 23:12 README.md
-rw-rw-r-- 1 pi pi 227 Aug 21 23:12 robots.txt
drwxrwxr-x 10 pi pi 4096 Aug 21 23:12 system
drwxrwxr-x 2 pi pi 4096 Aug 21 23:12 tmp
drwxrwxr-x 8 pi pi 4096 Aug 21 23:12 user
drwxrwxr-x 29 pi pi 4096 Aug 21 23:12 vendor
drwxrwxr-x 2 pi pi 4096 Aug 21 23:12 webserver-configs

Everything seems to be there when I check with via ssh.

Not i type in http://IP_OF_MY_PI/www/grav/index.php

I get a 404 message. What did I do wrong?

7 years ago

are you sure your grav install is on the web root (e.g. /var/www) of the apache server ?

  • your first ls -l seems to show the content of /home/pi or anything like that...

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 50 6 hours ago
Support · by Anna, 2 days ago
2 58 9 hours ago
Support · by Justin Young, 10 hours ago
1 28 10 hours ago
Support · by Duc , 1 week ago
2 63 5 days ago
Support · by Colin Hume, 1 week ago
2 53 5 days ago