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

Cannot add custom logo #181

Closed
Arcanum417 opened this issue May 31, 2015 · 15 comments
Closed

Cannot add custom logo #181

Arcanum417 opened this issue May 31, 2015 · 15 comments

Comments

@Arcanum417
Copy link

Options in "Theme logos" #116 are greyed out. I can select yes for both options but nothing else (save will return it to no and nothing happens.

@iliajie
Copy link
Collaborator

iliajie commented May 31, 2015

Select yes, then you are able to click on a file attach button (clip), select a file and click save.

@iliajie
Copy link
Collaborator

iliajie commented May 31, 2015

Uupss.. That was working last release! Sorry will fix it soon.

@jamieisboss
Copy link

A bit more detail, removing the classes disabling the buttons lets me access the filepicker and choose my logo but when I click save i get an error

  Failed to open /etc/webmin/authentic-theme/logo.png for writing : Permission denied

i tried the old-school way of copying the logo into that directory and it seems to get removed when i navigate anywhere inside webmin.

Hope this helps

@iliajie
Copy link
Collaborator

iliajie commented May 31, 2015

What is output of ls -lsa /etc/webmin/authentic-theme

@jamieisboss
Copy link

me@server:/usr/share/webmin/authentic-theme$ ls -lsa /etc/webmin/authentic-theme
total 16
4 drwxr-xr-x   2 root root 4096 May 31 06:22 .
4 drwxr-xr-x 123 root root 4096 May 31 06:06 ..
4 -rw-r--r--   1 root root  114 May 31 06:06 config
4 -rw-r--r--   1 root root 1396 May 31 06:22 settings.js

@iliajie
Copy link
Collaborator

iliajie commented May 31, 2015

what about ls -lsa /etc/usermin/authentic-theme

@jamieisboss
Copy link

I don't have usermin installed sorry

@jamieisboss
Copy link

To correct myself, i was trying to copy the logo.png manually into /usr/share/webmin/authentic-theme

when i copied it into /etc/webmin/authentic-theme it works as expected; the folder structures are identical and i got confused 😵 apologies

@iliajie
Copy link
Collaborator

iliajie commented May 31, 2015

Actually, you have discovered horrible BUG, that I have just fixed and will release version 13.04, very soon! Thank you!!

@jamieisboss
Copy link

Any time you need a confused guy, give me a call. 😄

Glad i could help, even if it was more of a shotgun than a sniper approach, seriously though, Thanks for all the work you've put into this, you've turned webmin from some dated looking (but wonderful) thing into something i can show clients and have them be impressed. Makes a world of difference.

@iliajie
Copy link
Collaborator

iliajie commented May 31, 2015

👍 So good to hear this! Thanks!! :D

@iliajie iliajie closed this as completed May 31, 2015
@jamieisboss
Copy link

Sorry man, just tried this after updating to the newest version

error

It works fine up until that point though

@iliajie
Copy link
Collaborator

iliajie commented Jun 1, 2015

Just as root first delete /etc/webmin/authentic-theme/logo.png and try again. And before that post

ls -lsa /etc/webmin/authentic-theme/logo.png

and

lsattr /etc/webmin/authentic-theme/logo.png

@iliajie
Copy link
Collaborator

iliajie commented Jun 1, 2015

...and ls -lsa /etc/webmin/authentic-theme

@iliajie iliajie reopened this Jun 2, 2015
@iliajie
Copy link
Collaborator

iliajie commented Jun 2, 2015

I have some changes in regards to your issue in up-coming version 13.05. It should work.

However, in case you will face this issue again, post the output from suggested commands above.. I think you have uploaded logo under some other user or made it immune.

@iliajie iliajie closed this as completed Jun 2, 2015
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