Skip to content
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

Unable to change logo, favicon and color palette #469

Closed
1 of 2 tasks
gmarcostam opened this issue Jan 21, 2022 · 7 comments
Closed
1 of 2 tasks

Unable to change logo, favicon and color palette #469

gmarcostam opened this issue Jan 21, 2022 · 7 comments

Comments

@gmarcostam
Copy link

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:
Using the docker version of Trudesk I can't update the logo and the favicon, also I can't change the color palette in Appearance.
After I save the changes those are not applied.

What did you expect to happen:
I expect to change logo, favicon and color palette.

How to reproduce it (as minimally and precisely as possible):
Just install the Docker version using the official guide

Anything else we need to know?:
No

Environment:

  • Trudesk Version: 1.1.11 (Docker)
  • OS (e.g. from /etc/os-release): Docker on Debian 11
  • Node.JS Version:
  • MongoDB Version: 3.6 (Docker)
  • Is this hosted on cloud.trudesk.io: No
@polonel
Copy link
Owner

polonel commented Feb 17, 2022

Did you configure the mount point correctly? The demo site (https://docker.trudesk.io) is running on the latest docker container and I'm able to upload the logo and change the color scheme.

@gmarcostam
Copy link
Author

I used the following docker command:

docker run --name trudesk -p127.0.0.1:49153:8118 --link mongodb:mongodb \ -v /data/trudesk/uploads:/usr/src/trudesk/public/uploads \ -v /data/trudesk/plugins:/usr/src/trudesk/plugins \ -v /data/trudesk/backups:/usr/src/trudesk/backups \ -e NODE_ENV=production \ -e TRUDESK_DOCKER=true \ -e TD_MONGODB_SERVER=mongodb -e TD_MONGODB_DATABASE=trudesk \ -P -d polonel/trudesk:1.1.11

I created in advance all folders inside /data

Then, in the Nginx configuration I added the following configuration:

location ~ ^/(uploads/) { root /data/trudesk; access_log off; expires modified +1h; }

Could you please check if there is an error in my procedure?

Thanks

@polonel
Copy link
Owner

polonel commented Feb 22, 2022

Seems like things are being cached maybe. Have you tried to clear the browser cache and reload the page after making the changes?

@gmarcostam
Copy link
Author

I tried but it's not working

@agarofalo-larus
Copy link

Seems like things are being cached maybe. Have you tried to clear the browser cache and reload the page after making the changes?

I have the same problem too @gmarcostam , the cache has nothing to do with it

@polonel
Copy link
Owner

polonel commented Feb 26, 2022

I have fixed the issues with the uploading of the images in the next release.

As far as the color scheme. Can you confirm that if you change the color scheme and then reboot the docker container, does it load the new color scheme?

Also, can you try to add an env var to the DockerFile to set NODE_ENV=development and confirm if the settings update then without having to reload the container?

@gmarcostam
Copy link
Author

development

Yes, if I change the color scheme then reboot it is working.
In addition, If a set NODE_ENV=development does not require to reboot.

@polonel polonel mentioned this issue Mar 25, 2022
2 tasks
polonel added a commit that referenced this issue Apr 10, 2022
# [1.2.0](v1.1.11...v1.2.0) (2022-04-10)

### Bug Fixes

* **appearance:** color scheme updates in production build [#469](#469) ([881a919](881a919))
* **appearance:** issue when uploading logo/favicon ([cb48e79](cb48e79))
* **log:** log file view ([0c2b180](0c2b180))
* **mailer:** missing data elements in mailer template [#480](#480) ([cd54631](cd54631))
* **profile:** profile image upload on new version of chrome ([cb72e75](cb72e75))
* **sidebar:** spacing when activating/deactivating notice ([d1b2b10](d1b2b10))
* **tickets:** disable uploading .svg as an attachment ([c4b262c](c4b262c))
* **tickets:** incorrect tickets removed from ticket view ([a943497](a943497))
* **ui:** input fields reset on clear [#452](#452) ([3b8682c](3b8682c))

### Features

* **maintenance:** added maintenance mode [#475](#475) ([a04f15b](a04f15b))
@polonel polonel closed this as completed Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants