Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 07-13-2023, 11:47 PM   #361
huber70
Addict
huber70 has learned how to buy an e-book online
 
Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
@mariosipad

back again - new pc start this morning after windows update - site 192.xxx.xxx.xx:2342/lib.... says "no connection"

starts to get tired of Linux (?) again
huber70 is offline   Reply With Quote
Old 07-14-2023, 04:59 AM   #362
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@huber70

Bummer!

1) What is the output of http://192.168.xxx.yyy:2342
2) Can you login on the Pi? What is het output of ip a
3) What is the output of docker ps
mariosipad is offline   Reply With Quote
Advert
Old 07-14-2023, 06:45 AM   #363
huber70
Addict
huber70 has learned how to buy an e-book online
 
Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
@mariosipad

1) Firefox: No connection possible
----------------------------------------------------------------------------
2)
pi@raspberrypi:~ $ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether d8:3a:dd:2e:fd:8c brd ff:ff:ff:ff:ff:ff
inet 192.5 scope global dynamic noprefixroute eth0
valid_lft 825119sec preferred_lft 717119sec
inet6 2a04:4540:ae04:4a00:fbc:1a72:a5dd:e1de/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 6859sec preferred_lft 3259sec
inet6 fe80::2cc2:ca88:74bc:ac57/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether d8:3a:dd:2e:fd:8d brd ff:ff:ff:ff:ff:ff
inet cope global dynamic noprefixroute wlan0
valid_lft 825125sec preferred_lft 717125sec
inet6 2a04:4540:ae04:4a00:7fce:a4b2:ba62:1277/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 6860sec preferred_lft 3260sec
inet6 fe80::c53:59d:39b0:44bb/64 scope link
valid_lft forever preferred_lft forever
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:df:39:0f:02 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
5: br-692d222a5974: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:c1:12:87:18 brd ff:ff:ff:ff:ff:ff
inet 172.19.0.1/16 brd 172.19.255.255 scope global br-692d222a5974
valid_lft forever preferred_lft forever
6: br-e41db56028b9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:91:ea:57:15 brd ff:ff:ff:ff:ff:ff
inet 172.18.0.1/16 brd 172.18.255.255 scope global br-e41db56028b9
valid_lft forever preferred_lft forever
inet6 fe80::42:91ff:feea:5715/64 scope link
valid_lft forever preferred_lft forever
8: veth739f4fa@if7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-e41db56028b9 state UP group default
link/ether fa:45:7d:f3:7e:64 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 169.254.85.60/16 brd 169.254.255.255 scope global noprefixroute veth739f4fa
valid_lft forever preferred_lft forever
inet6 fe80::ace2:6b5c:dec2:f5a4/64 scope link
valid_lft forever preferred_lft forever
-----------------------------------------------------------------------------
3)
pi@raspberrypi:~ $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
82a0ceac8724 arm64v8/mariadb:10.11 "docker-entrypoint.s…" 46 hours ago Up 11 hours 3306/tcp photoprism_mariadb_1

Last edited by huber70; 07-14-2023 at 09:01 PM.
huber70 is offline   Reply With Quote
Old 07-14-2023, 07:24 AM   #364
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@huber70

What is the output of docker ps -a

What is the output of uptime
mariosipad is offline   Reply With Quote
Old 07-14-2023, 07:33 AM   #365
huber70
Addict
huber70 has learned how to buy an e-book online
 
Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
@mariosipad

1)

pi@raspberrypi:~ $ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b72b77c22a0a photoprism/photoprism:arm64 "/scripts/entrypoint…" 47 hours ago Exited (143) 14 hours ago photoprism_photoprism_1
82a0ceac8724 arm64v8/mariadb:10.11 "docker-entrypoint.s…" 47 hours ago Up 12 hours 3306/tcp photoprism_mariadb_1
a3a4fa9125e1 photoprism/photoprism:arm64 "/scripts/entrypoint…" 3 days ago Created pi-photoprism-1

2)
pi@raspberrypi:~ $ uptime
13:32:48 up 11:39, 2 users, load average: 0,00, 0,01, 0,04
huber70 is offline   Reply With Quote
Advert
Old 07-14-2023, 07:39 AM   #366
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@huber70

Did you switch off your Pi about 14 hours ago?
Then switched on again about 11 hours ago?

To start photprism again.

docker start photoprism_photoprism_1

Wait about a minute, then try http://192.168.xxx.yyy:2342 again.

What is the output of docker ps
mariosipad is offline   Reply With Quote
Old 07-14-2023, 08:03 AM   #367
huber70
Addict
huber70 has learned how to buy an e-book online
 
Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
@mariosipad

Yes, turned it off and on

Now start photoprism again and it works again - thanks

Is that necessary to start photoprism every time I turn the PI off/on or is there a possibility to create an entrance Linux autostart (as in windows) to start photoprism automatically by procedure off/on or reboot?

If not, no problem to think on it and to start photoprism manually
huber70 is offline   Reply With Quote
Old 07-14-2023, 08:16 AM   #368
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@huber70

To make photoprism start on every (re)boot is relatively easy.

To make photoprism stop on shutdown can be done, but this is difficult. I just do it manually docker stop photoprism_photoprism_1

To start photoprism at every (re)boot:

crontab -e

Add to bottom of file:
Code:
@reboot /bin/sleep 120 && /usr/bin/docker start photoprism_photoprism_1
This starts photoprism 2 minutes after a (re)boot to give all the startup processes time to finish.
mariosipad is offline   Reply With Quote
Old 07-14-2023, 08:26 AM   #369
huber70
Addict
huber70 has learned how to buy an e-book online
 
Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
@mariosipad

thank you, entry done :-))
huber70 is offline   Reply With Quote
Old 07-14-2023, 10:41 AM   #370
huber70
Addict
huber70 has learned how to buy an e-book online
 
Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
@mariosipad

Just added 5 folders with 5 huge mp4 videos (max=3,3 GB) and some pics, if you do not use the complete "new index" but just "files index" it took 4.5 minutes, that is rather acceptable

In the background run a slideshow on the screen at the same time, temperature is 55°C
huber70 is offline   Reply With Quote
Old 07-14-2023, 12:00 PM   #371
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@huber70

I think it's the number of files, not the size that determines the time it takes.

Hey, it's running cool!
mariosipad is offline   Reply With Quote
Old 07-28-2023, 06:36 AM   #372
huber70
Addict
huber70 has learned how to buy an e-book online
 
Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
@mariosipad

Hi, are you fine?

Just a small "problem": As you may remember I own now 2 freemyip accounts, the first one we installed is for the ebooks, located on PI 01. This account is always present from outside as the token is set as the homepage of my browser

The second freemyip account runs for my pictures at Photoprism at PI 02. Naturally I cannot set this token as well as my browser's homepage. Hence, the entrance to this freemyip-address disappears after one day. This makes it difficult to send links for download to friends as they report a broken link that does not work - what have I to do do avoid this?
huber70 is offline   Reply With Quote
Old 07-28-2023, 08:24 AM   #373
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@huber70

I'm fine. I recently bought an Arzopa monitor to have some fun with, and I like it.

Didn't we setup a crontab line to make the freemyip.com url work with your daily changing IP (somewhere during the night)?

If we did, just add the line for the second freemyip.com url to the crontab.

Last edited by mariosipad; 07-28-2023 at 08:27 AM.
mariosipad is offline   Reply With Quote
Old 07-28-2023, 09:07 AM   #374
huber70
Addict
huber70 has learned how to buy an e-book online
 
Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
@mariosipad

not sure, whether we did but: a line for the second freemyip? Remember: This is PI 02 with no ebooks on it; hence there is no first line for freemyip
huber70 is offline   Reply With Quote
Old 07-28-2023, 09:13 AM   #375
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@huber70

xxxxxx.freemyip.com points to your external IPv4 address.
yyyyyy.freemyip.com points to that same external IPv4 address

In your fritz!box you point port aaaaaa to an internal IPv4 (Pi01) address and port, while you point port bbbbbb to another IPv4 (pi02) address and port.

First check if there is a crontab file (crontab -e or sudo crontab -e) on either of your Pi's.
mariosipad is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
COPS : Calibre OPDS PHP Server vlad59 Related Tools 1923 04-22-2025 05:33 PM
OPDS in php or populate metadata.db from filesystem skelos Related Tools 0 09-06-2019 11:03 AM
php??? crutledge ePub 13 01-24-2014 06:27 PM
Which PHP version do you have? erayd Workshop 2 10-04-2010 08:02 PM


All times are GMT -4. The time now is 02:44 AM.


MobileRead.com is a privately owned, operated and funded community.