News How to Remote Control Your Raspberry Pi Camera from the Web

Mar 21, 2020
9
3
15
Awesome article, thank you! I've been searching the interwebs for weeks, trying to find a coherent method of streaming video or pics. This adds an interesting dimension. Question: have you investigated / come up with a method for using and autofocus and / or auto aperture lens? Thanks again.
 
May 15, 2020
1
0
10
Raspberry Pi 3B+ Server localhost:3030 does not work after install Anvil App Server Jar.

Failed to start built-in Postgres database: java.lang.IllegalStateException: Process [.anvil-data/db-bin/PG-b3395acdd374999db588d5dfa1346d41/bin/initdb, -A, trust, -U, postgres, -D, .anvil-data/db, -E, UTF-8] failed
More logs are available in .anvil-data/postgres.log.
Some common causes of this problem:
- Are you launching this server as 'root' on a UNIX system?
Postgres will not run as root; try launching the server as an ordinary user.
- Are you running this server on an unusual architecture or OS? (Linux/arm)

tail .anvil-data/postgres.log.

initdb: cannot be run as root
Please log in (using, e.g., "su") as the (unprivileged) user that will
own the server process.

What could be the solution to this?
 
May 19, 2020
1
0
10
Raspberry Pi 3B+ Server localhost:3030 does not work after install Anvil App Server Jar.

Failed to start built-in Postgres database: java.lang.IllegalStateException: Process [.anvil-data/db-bin/PG-b3395acdd374999db588d5dfa1346d41/bin/initdb, -A, trust, -U, postgres, -D, .anvil-data/db, -E, UTF-8] failed
More logs are available in .anvil-data/postgres.log.
Some common causes of this problem:
- Are you launching this server as 'root' on a UNIX system?
Postgres will not run as root; try launching the server as an ordinary user.
- Are you running this server on an unusual architecture or OS? (Linux/arm)

tail .anvil-data/postgres.log.

initdb: cannot be run as root
Please log in (using, e.g., "su") as the (unprivileged) user that will
own the server process.

What could be the solution to this?
Your cloned files are probably owned by root. Try this:

1. Check ownership of the files
ls -la /home/pi/cam
If you see root as the owner, move on to the next step
2. Change ownership. I don't think anything needs to be owned by root so you should be safe recursively changing:
chown -R pi: /home/pi/cam

That should do it