-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
No custom logos appearing in Usermin #710
Comments
Did you try to reload the whole page, and not just the right frame? Do you have proper permissions on the directories? If I upload the logo in Webmin->Theme Configuration->Logos I can see it in both Webmin and Usermin. At the same time, there is no option yet to have different logos for Webmin/Usermin |
What do you mean by the right frame? I reloaded by refreshing the page/restarting Usermin so I'm pretty sure it was an adequate refresh. I also deleted the theme from Webmin and Usermin and reinstalled to make sure they were the same version because at one point we'd gotten a Perl error because I believe they were mismatched. This is the permission/info on The logos were uploaded through Thanks for your time. |
I will test it tomorrow for you one more time. Do you also have updated version of the theme in Usermin? |
Yes, I have the most recent from the list on the Webmin website. |
So after you set up logos in Webmin do they appear in If you open browsers console, are there any errors? Are you root user or sudoer? |
Ok, I got back to my PC. I see the reason why this is happening. I will make a patch to make sure that Permissions should be 755 on the directory
It will work for you then. Mentioned directory |
I also discovered another critical bug there. Thanks for reporting! Please upgrade the theme from the repo. |
Hey Ilia. Thanks for all of your help. To apply the hotfix I cloned the repository, should I just manually upload? |
Cloning should be enough, to both Webmin and Usermin. After you install it, there is new option to check new version from Git. In the future, you will be able to install new Git version with single click. |
Ah.. I cloned to my own host OS so I could upload the files manually. I'm not sure I know how to manually install the theme on my server, although I do know how to clone it. Can you link somewhere I can find how to do this on Webmin? I don't mean to badger you with these questions. |
Just go on your server to Before that you would need to delete Like I mentioned, after this manual update you will be able to enable Git updates from settings. |
Is there a way I could login in check? You can share the credentials using my website. I can't tell why it's not working for you other than what I already did. Or you could wait for the other update of Webmin/Usermin that should be coming quite soon. I guess a week or two. |
Unfortunately not.. I'm doing this for a work project and don't think it'd be appropriate for me to give out my login details. Is there a version of anything that I can check in this to check if it's actually getting the right update? |
I understand, sure, no problem. It should be working. After you copied the files or updated the theme and it doesn't work - it might be the cache issue. You should reload Webmin and Usermin. If it still doesn't work, you could find the processes ids by running: ps aux | grep -v grep | grep miniserv The output should be something like: root 1234 0.0 2.7 210316 113748 ? Ss 11:28 0:03 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
root 5678 0.0 0.4 101656 17672 ? Ss 10:34 0:00 /usr/bin/perl /usr/libexec/usermin/miniserv.pl /etc/usermin/miniserv.conf
and later after you have the process id, kill it manually, like this: kill -9 1234
kill -9 5678 Where 1234 is the Webmin pid and 5678 Usermin pid. After that run /etc/webmin/start and /etc/usermin/start |
Did that and still no luck. Should I just wait for the next release? |
It's very strange. Can you login as |
Still nothing. It's so weird because I was thinking maybe the classes were hidden or something but they just aren't even there (classes being |
If you open the source, is it there? |
I hope permissions on |
Do you have uploaded logos at |
Logos aren't there. Not sure why, but usermin/ also doesn't have any other files or folders other than authentic-theme. I'm going to reinstall Usermin I think so I can get those files back, I'm not sure where else I'd copy them from. |
What are the permissions on etc, usermin and authentic-theme? |
755 on etc I was looking in |
There should be no /etc/authentic-theme but /etc/usermin/authentic-theme. Are you running as root? |
Sorry I missed usermin. The correct third one was |
Copy *.png from |
No luck here either |
Webmin logo works? |
The Usermin that I installed from Webmin>Webmin modules>Install |
Very interesting. I will have to take a deeper look into that. I have never heard of installing Usermin itself as a module. What is the output of |
..and what is the output of |
It's important, what is the output of commands above? |
What you installed is Usermin module for Webmin, that will let you manage installed version Usermin. |
Sorry, was probably commuting/sleeping when you responded. Result of
|
..and what is the output of |
Respectively:
|
..and at the same time |
Not entirely. Here's
|
You have strange install. How did you install Usermin? |
From within Webmin I went to Webmin Configuration, then Webmin Modules, then where it says install from webmin.com I typed in Usermin and installed like that. |
No. You could only install Usermin module to control Usermin with it. In case it wasn't installed, you would have to click install button from inside Webmin/Usermin Configuration first to install .deb package. Remember doing it? |
Ahh yes I remember what you're talking about now, vaguely. Maybe I should remove Usermin entirely and reinstall so that I can have all of this from scratch. |
Sure, go ahead. Save configuration first, just in case. |
Ok, I uninstalled and reinstalled. Reinstalled theme with direct github link. Still no logos. How I installed was after I ran Now Usermin works. |
I also made sure |
Still no logo? |
Yep, I'm going to see about just getting a fresh instance that I can install webmin from scratch on. Something doesn't seem right |
The problem is not occurring on my own instance of Webmin/Usermin, which I did a complete fresh install with. So I guess it's somewhere in the actual install of my other instance. |
It's interesting for me to find out what is that, really. |
I'm not sure this issue will ever occur for anyone else. I think the install is from a good amount of time ago. I can try to trace through the folders and see what is in the wrong place, though.. |
I will note however that the folder This has definitely been a learning experience if anything |
On the server that this ticket originated with, I reinstalled Usermin and reinstalled the latest version of Both logos are in |
I don't see how it's possible. The only thing I could recommend is to refresh the page using browser's reload button or just hitting F5. |
Yeah I was thinking how is this possible? too. I opened in incognito and it wasn't working there either.. I'll try killing the processes again and rebooting them manually and see if that helps |
Sure, go ahead. |
that did it. all working now with the logos, thanks for your assistance along the way. |
You're welcome. I'm glad to be helpful. |
Ubuntu 16.04
OSX Sierra / Chrome 56
Installed Authentic theme fresh on Webmin and Usermin and went to Usermin, not logos showing
I'm trying (like in #639) to get the custom logos working on Usermin. None of the logos are appearing in Usermin although the images are both kept in
/etc/usermin/authentic-theme/images/
and/etc/usermin/authentic-theme/
- I put them in images as well because I noticed that in the code those directories were references./usr/share/usermin/authentic-theme/
is also populated.I'm having difficulties determining why it isn't working because in the
sub embed_logo() { ... }
function it would appear that it would work regardless. We were trying to check where$root_directory
was initialized to see if maybe that was the issue but couldn't find it so figured it's not on GitHub.The page itself does not show anything with the divs that are supposed to be printed, they are just missing completely.
Thanks
The text was updated successfully, but these errors were encountered: