-
-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Message in logs and not send nodification #163
Comments
Using last version in Unraid (Linux x64) Docker |
Fixed by disabled API setting and changed Pi.Alert URL to my http://192.168.0.199:20211 but still dont know why was problem with API in last version .... maybe becose we need to add to docker setup : ${DEV_LOCATION}/front/api:/home/pi/pialert/front/api i dint checked it .... |
Did you also changed pi.Alert URL from default to you URL? |
I have only webhook for discord for now... |
I changed the url for my local domain |
Still have error and stopped container? |
Hi @masterwishx @gregtux77 ! Thanks for reporting and helping out @masterwishx ! Really appreciate it :) I think I know what's wrong. I'll confirm in a few hours, but I think:
Cause if interested: I created the /api/ directory on my local dev environment, but wanted to exclude sensitive data so placed a gitignore file in the folder, which completely removed the whole folder from the source. For those who are impatient, this dev build should fix the issue: 🩹DockerHub image tag is:
|
FYI Confirmed: The above workaround works on my end. Will be fixed in the next release. |
For those who are impatient, this dev build should fix the issue: DockerHub image tag is:
|
Glad to help, also founded after all in console of container that font/api folder not found |
i change
Hello , It's perfect . I deployed the dev version and I no longer have any errors. The home/pi/pialert/front/api directory exists. I reactivated the API and Apprise.. I'll test a little more but I think it's ok Congratulations guys and thanks again for the responsiveness |
🆕 New release is live -> closing this issue:
|
hello i m an error with latest version, this's same problem ?
sys.exit(main())
File "/home/pi/pialert/back/pialert.py", line 599, in main
send_notifications()
File "/home/pi/pialert/back/pialert.py", line 2281, in send_notifications
update_api(True)
File "/home/pi/pialert/back/pialert.py", line 3100, in update_api
write_file(folder + 'notification_text.txt' , mail_text)
File "/home/pi/pialert/back/pialert.py", line 3167, in write_file
file = open (pPath, 'w', encoding='utf-8')
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/pialert/front/api/notification_text.txt'
moreover I note that the swap is filled progressively...
image :jokobsk/pi.alert:latest
Raspi : P4
tky for your time
The text was updated successfully, but these errors were encountered: