@peopleinside said in What is all the stuff at the bottom of the browser & can it be turned off?:
And clear cache
in the browser ?
When using UVDESK on the browser, what is all the stuff at the bottom of the browser & can it be turned off?
It looks like this but has icons and pop up menus
200 @ helpdesk_knowledgebase 24 ms 2.0 MiB 112 434 in 2.66 ms 20 anon. 5 ms 10 in 3.80 mn
@domdis said in What is all the stuff at the bottom of the browser & can it be turned off?:
the browser, what is all the stuff at the bottom of the browser & can it be turned off?
yes, you can change APP_ENV to prod which is currently dev from .env file of your project.
@domdis hi, what stuff are you referring: links? Those one can be customized on branding section on the admin dashboard.
@domdis said in What is all the stuff at the bottom of the browser & can it be turned off?:
the browser, what is all the stuff at the bottom of the browser & can it be turned off?
yes, you can change APP_ENV to prod which is currently dev from .env file of your project.
@sanjeev said in What is all the stuff at the bottom of the browser & can it be turned off?:
@domdis said in What is all the stuff at the bottom of the browser & can it be turned off?:
the browser, what is all the stuff at the bottom of the browser & can it be turned off?
yes, you can change APP_ENV to prod which is currently dev from .env file of your project.
And clear cache
@peopleinside said in What is all the stuff at the bottom of the browser & can it be turned off?:
And clear cache
in the browser ?
@domdis in the operator Dasboard, if you run version 1.0.18, you should see in tje end of the page a trash icon on the bottom right. This is for clear cache or you can do also by SSH with the command : php bin/console c:c
( https://forums.uvdesk.com/topic/1844/how-to-remove-cache/2)
@peopleinside said in What is all the stuff at the bottom of the browser & can it be turned off?:
This is for clear cache or you can do also by SSH with the command : php bin/console c:c
Huh i vi the .env file to add APP_ENV=prod and I can't browser in anymore.
I will SSH and issue the command php bin/console c:c
That looks like it worked but I did receive an error
{"message":"Error thrown while running command \"cache:clear\". Message: \"Unable to write in the \"/var/www/uvdesk/var/cache/prod\" directory.\"","context":{"exception":{"class":"Symfony\\Component\\Console\\Exception\\RuntimeException","message":"Unable to write in the \"/var/www/uvdesk/var/cache/prod\" directory.","code":0,"file":"/var/www/uvdesk/vendor/symfony/framework-bundle/Command/CacheClearCommand.php:88"},"command":"cache:clear","message":"Unable to write in the \"/var/www/uvdesk/var/cache/prod\" directory."},"level":500,"level_name":"CRITICAL","channel":"console","datetime":"2022-03-03T18:47:05.895286+00:00","extra":{}}
18:47:05 CRITICAL [console] Error thrown while running command "cache:clear". Message: "Unable to write in the "/var/www/uvdesk/var/cache/prod" directory." ["exception" => Symfony\Component\Console\Exception\RuntimeException^ { …},"command" => "cache:clear","message" => "Unable to write in the "/var/www/uvdesk/var/cache/prod" directory."]
{"message":"Command \"cache:clear\" exited with code \"1\"","context":{"command":"cache:clear","code":1},"level":100,"level_name":"DEBUG","channel":"console","datetime":"2022-03-03T18:47:05.900022+00:00","extra":{}}
Unable to write in the "/var/www/uvdesk/var/cache/prod" directory.
And NOW its locked up I will reboot the VM
@domdis instructions on previous messages say to replace dev with prod not to add APP_ENV=prod so you just replaced I hope. Be sure to do not create duplicate lines in the .env file.
When you run php bin/console c:c as root account this can create issues. The command should be run not as root but as normal SSH user.
If you run as root then maybe check the folder prod and dev is not set to be assigned to the root user.
You still get errors if you run the cache clear command?
I'm not a developer so I can just try to help you here.. but maybe you need some help from developers.
@peopleinside @peopleinside said in What is all the stuff at the bottom of the browser & can it be turned off?:
nstructions on previous messages say to replace dev with prod not to add APP_ENV=prod so you just replaced I hope. Be sure to do not create duplicate lines in the .env file.
I put a # before APP_ENV=dev the line and added a new line APP_ENV=prod . I think that makes it a comment. This seemed to work and I was able to create a few users but them my VM froze.
When you run php bin/console c:c as root account this can create issues. The command should be run not as root but as normal SSH user.
I was a normal user, no sudo
The user I am logged in to is part of the www-data group but I see permission in the /var/www/uvdesk/var/cache/* dir are read only for group and other
drwxr-xr-x # www-data www-data 4096 Feb 19 00:22 dev/
drwxr-xr-x # www-data www-data 4096 Mar 3 18:46 prod/
The garbage can is on the home page but it was blocked by the dev black line on the bottom. There's only a hint of the top of the can that is visable but I saw you can shrink that dev line to just an icon by clicking on the x