Manuel83 / craftbeerpi3

Other
180 stars 170 forks source link

Cannot download/view logs through System Menu #22

Open helibrewer opened 7 years ago

helibrewer commented 7 years ago

When clicking the green "download" button I receive "404 Not Found" (http://192.168.1.50:5000/api/logs/download/app.log")

The red "trash" icon does delete the respective log file

JamFfm commented 7 years ago

same to me

Manuel83 commented 7 years ago

Can you help me and check if you find a app.log in the logs folder of CraftBeerPi when you try to download it?

helibrewer commented 7 years ago

Yes, app.log does exist in the logs folder

URL: http://192.168.1.50:5000/api/logs/ returns the following list: ["fermenter_1.log", "sensor_1.log", "app.log", "kettle_1.log"]

carlallen commented 7 years ago

@helibrewer try restarting

helibrewer commented 7 years ago

Still get the 404 error...and now when I use the back arrow on my browser after that error, I get the setup screen and lose my actors, fermenter, and kettle....the sensors remain.

peretti2004 commented 7 years ago

I also get the 404 error when I try to download logs.

carlallen commented 7 years ago

I wonder if there is some kind of permissions issue. Can you do some things: in the console in your craftbeerpi3 directory run: ps -ef | grep python and ls -la logs then take a screen shot and post it here like this one: screen shot 2017-07-09 at 12 24 55 am

helibrewer commented 7 years ago

pi_logs