freescout-help-desk / freescout

FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)
https://freescout.net
GNU Affero General Public License v3.0
2.92k stars 483 forks source link

Telegram Notifications Modul cant save the API token #1544

Closed Kampfwurst closed 2 years ago

Kampfwurst commented 2 years ago

Hi, I cant save the Bot API Token for the Telegram Notifications Modul. It shows that it saved it (green fild on top) but then the Field Bot API Token is empty. I also cant change any Events. In the log there is nothing.

I tried to disable the module and cleared the cache. I also changed the browser chrome. under system there it shows PHP 7.2.34

Whats the solution? The freescout is hostet on interserver.net

freescout-helpdesk commented 2 years ago

Check App Logs. Most likely https://github.com/freescout-helpdesk/freescout/wiki/Installation-Guide#-permissions-issue

Kampfwurst commented 2 years ago

I get this message when i activate the modul

Cache cleared successfully. Nothing to migrate. Error occured creating [/home/yyy/xxxxx/public/modules/telegram] symlink: symlink(): No such file or directory The [/home/yyy/xxxxx/public/modules/telegram] symlink has been created Clearing cache... The compiled services & packages files have been removed. Cache cleared successfully. Compiled views cleared! Configuration cache cleared! Configuration cached successfully! Created: storage/app/public/js/vars.js

i deleted the module and now the error disapeard. But still no success with the module. There is also no error in the log.

freescout-helpdesk commented 2 years ago

Is everything OK in Manage > System > Permissions?

Kampfwurst commented 2 years ago

yes everything is fine there. https://ibb.co/mNLGkZ3

As i can see the value of the API Token is written to the .env file.

freescout-helpdesk commented 2 years ago

Do you have TELEGRAM_BOT_TOKEN= in your /.env file?

Kampfwurst commented 2 years ago

yes its there.

freescout-helpdesk commented 2 years ago

Try to manually remove all cache files from /storage/framework/cache/data and /bootstrap/cache

Kampfwurst commented 2 years ago

i have removed all the files without success. Still the same problem.

freescout-helpdesk commented 2 years ago

Does TELEGRAM_BOT_TOKEN has any value in .env file?

Kampfwurst commented 2 years ago

yes its the correct value inside

freescout-helpdesk commented 2 years ago

If you want you can send server and admin access to support@freescout.net - we will take a look.

freescout-helpdesk commented 2 years ago

Fixed in Telegram Notifications Module v1.0.5