Closed oliverk71 closed 2 years ago
Would the output be of interest? I can paste it here, if you want.
However, none of the links works right now:
https://birdnetgv.ddnss.de:8080/ https://birdnetgv.ddnss.de:8000/ https://birdnetlog.dnshome.de/ https://webterminal.dnshome.de/
I tested the last two last night (manually pasted in the browser, still on 4B) and I swear they worked. However, this is my Caddyfile:
http://localhost http://birdnetpi.local https://birdnetgv.ddnss.de {
root * /home/pi/BirdSongs/Extracted
file_server browse
reverse_proxy /stream localhost:8000
php_fastcgi unix//run/php/php7.4-fpm.sock
}
https://webterminal.dnshome.de/ {
reverse_proxy localhost:8888
}
https://birdnetlog.dnshome.de/ {
reverse_proxy localhost:8080
}
In birdnet.conf , the links are correct:
BIRDNETPI_URL=https://birdnetgv.ddnss.de
BIRDNETLOG_URL=https://birdnetlog.dnshome.de/
WEBTERMINAL_URL=https://webterminal.dnshome.de/
but in menu.html it is:
<h5>System</h5>
- <a href="/scripts/" target="content">Tools</a><br>
- <a href="/phpsysinfo/" target="content">Info</a><br>
- <a href="https://birdnetgv.ddnss.de:8080" target="content">Log</a><br>
Thank you for providing that information.
Please try the following:
Let me know how that works and we will go from there
I can see that did not work -- I am taking a look through your system now -- give me 5 minutes.
What I recognized was the last line in the output from update_birdnet.sh
was: sed: no input files
What I recognized was the last line in the output from update_birdnet.sh was: sed: no input files
I have noticed that, but it is harmless -- an error when there is nothing to update, so to speak.
But what I noticed is that you have trailing slashes /
on your URL, which maybe is the issue. Try removing them and running a full update so your browser doesn't send a cached version with the slash.
Okay, I will try. Takes a few minutes.
Mh, I just noticed no trailing slashes shown in the advanced settings links. But however, I can try.
Ah, okay, I see the trailing slashes in birdnet.local page, which I left open in another tab. We will see ...
Now it works! That really seemed to be the reason. Thanks a lot!
You are very welcome! I'll look into parsing those out, but I will close this issue now. Happy birding!
PS You're going to want to set a webpage password as soon as possible
The links I provided for birdnet log and web terminal in the settings seem not to be taken by birdnetpi. I ran the following commands via SSH, as you recommended:
stop_core_services.sh && update_birdnet.sh && restart_services.sh
After this I checked the menu.html and it still uses the old link, which is in my case https://birdnetgv.ddnss.de:8080