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

File Manager not responding on Webmin or Usermin #711

Closed
brianforan opened this issue Apr 7, 2017 · 43 comments
Closed

File Manager not responding on Webmin or Usermin #711

brianforan opened this issue Apr 7, 2017 · 43 comments

Comments

@brianforan
Copy link

Provide the following information:

  • What is your server-side OS and its version?
    Ubuntu 16.04
  • What is your client-side OS, browser and its versions?
    OSX Sierra / Chrome 57 / Firefox 52
  • What are the steps to reproduce the issue
    Navigate to either System>File Manager in Webmin or Others>File Manager in Usermin

Not sure if you want two separate issues for this. In Webmin I can go into directories but I can't ascend back out of them by clicking the '..' next to the folder, I just get a spinning wheel.

On Usermin, I can't descend into any directories, spinning wheel for everything.

Also minor side note - vertical scroll does not work, not sure if this is intended though.

@brianforan
Copy link
Author

Also tested with a default theme on Webmin and it worked, so assuming it is an authentic issue.

@iliajie
Copy link
Collaborator

iliajie commented Apr 7, 2017

In Usermin it's expected. It will be fixed in next the Usermin release as Usermin doesn't have latest filemin.

In case your Webmin 18.31+ and latest theme - there should be no problem. If you still experiencing the ptoblem, open the console and make a screenshot with an error message.

@brianforan
Copy link
Author

Two things from this - first, is there any way that every time I open file manager it opens back up at the default directory? Right now it opens to the last location until I clear cache/open in incognito, or I guess maybe if I closed the browser itself but I didn't try that because I have other windows open. Instead tried in incognito.

Second, here is the console output. Had to delete my first comment because the IP was showing in the photo..
screen shot 2017-04-07 at 2 21 42 pm

@iliajie
Copy link
Collaborator

iliajie commented Apr 7, 2017

What is the Webmin version?

@iliajie
Copy link
Collaborator

iliajie commented Apr 7, 2017

Oh, darn. I know why this is happening! Thanks for reporting!

I will fix it shortly!

@iliajie iliajie closed this as completed in e845331 Apr 7, 2017
@brianforan
Copy link
Author

Working great now, thanks!

@brianforan
Copy link
Author

brianforan commented Apr 7, 2017

Are you sure about Usermin not having the right filemin?

From the Usermin changelog on webmin.com:

Version 1.680 (5th October 2015)
German and Catalan translation updates.
Added the Filemin File Manager module, which will eventually replace the old Java file manager.

I'm able to navigate through with a theme other than Authentic. I can create another issue if you'd like

@iliajie
Copy link
Collaborator

iliajie commented Apr 7, 2017

Yes, I'm sure.

Look, just go to /usr/share/webmin and copy/replace filemin folder into /usr/share/usermin, and afterwards it'll work for you. 😉

@brianforan
Copy link
Author

brianforan commented Apr 7, 2017

I dunno, I'll take your word for it. I did sudo cp -rf /usr/share/webmin/filemin /usr/share/usermin then restarted usermin with authentic theme enabled and it didn't work.

Although I do have this error in console:

20000/extensions/file-manager/list.cgi?path=&module=filemin Failed to load resource: the server responded with a status of 500 (Perl execution failed) - where 20000 is ip:port

@iliajie
Copy link
Collaborator

iliajie commented Apr 7, 2017

Try adding -p switch to your command.

@iliajie
Copy link
Collaborator

iliajie commented Apr 7, 2017

It should be working.

@iliajie
Copy link
Collaborator

iliajie commented Apr 7, 2017

cp -ar ..

@brianforan
Copy link
Author

That wasn't working either. The logos still weren't working from the other ticket so I'm going to leave it for now and try to reconfigure Webmin from scratch on a new Ubuntu instance and try to start fresh and hopefully everything will work then.

Thanks for all of your help so far.

@iliajie
Copy link
Collaborator

iliajie commented Apr 7, 2017

Did you delete the directory filemin from under Usermin? Try that first.

@brianforan
Copy link
Author

Same result after removing directory and then sudo cp -ar ..

@iliajie
Copy link
Collaborator

iliajie commented Apr 7, 2017

What is the output of ls - lsa /usr/share/usermin/filemin?

@iliajie
Copy link
Collaborator

iliajie commented Apr 7, 2017

..-a is already recursive. -r switch is not needed.

@brianforan
Copy link
Author

screen shot 2017-04-10 at 1 37 40 pm

@iliajie
Copy link
Collaborator

iliajie commented Apr 10, 2017

All looks good.

What is the output of

cat /usr/share/usermin/authentic-theme/VERSION.txt?

@brianforan
Copy link
Author

18.40

@iliajie
Copy link
Collaborator

iliajie commented Apr 10, 2017

Ok, try again please as you don't have correct size over filemin-lib.pl:

  1. Delete it by running rm -rf /usr/share/usermin/filemin
  2. Copy it to the destination cp -a /usr/share/webmin/filemin /usr/share/usermin
  3. Restart Usermin.

It will only work if your Webmin version is 1.831+.

@brianforan
Copy link
Author

When I do cat /usr/share/webmin/authentic-theme/VERSION.TXT I also have version 18.40, but I've run ./theme-update.sh and it ran its course. I ran steps 1 and 2 per your instruction previously though. My webmin version is 18.31 though, and when I log into webmin I get the pop up about version 18.41 of the theme, but the cat still shows 18.40

@iliajie
Copy link
Collaborator

iliajie commented Apr 10, 2017

You can't have the message that 18.41 is available unless you are the victim of MITM attack.

By going to https://github.com/qooob/authentic-theme/blob/master/VERSION.txt you should only see 18.40 and not 18.41 as it's not released yet.

@brianforan
Copy link
Author

brianforan commented Apr 10, 2017

Sorry, I misread your post before about the file size.

The resulting line of ls -lsa /usr/share/(webmin/usermin)/filemin is:

20 -rw-r--r-- 1 root root 16900 Jan 7 01:09 filemin-lib.pl

where (webmin/usermin) is interchangeable

I also reran the copy, but it makes sense why it'd be wrong now.

@iliajie
Copy link
Collaborator

iliajie commented Apr 10, 2017

That is strange.

The content should be as such: filemin-lib.pl

@brianforan
Copy link
Author

brianforan commented Apr 10, 2017

Would it be more likely to break it even more if I clone webmin into my server and then copy filemin-lib.pl from the repo folder over to /usr/share/usermin/filemin and overwrite the pre-existing one?

edit: guessing yes because the pages are all breaking now, but maybe that's just a connection issue. will give it a few

@iliajie
Copy link
Collaborator

iliajie commented Apr 10, 2017

Here is the copy from my server, which works fine under Usermin.

@iliajie
Copy link
Collaborator

iliajie commented Apr 10, 2017

@brianforan
Copy link
Author

Says Module filemin requires Usermin version 1.831 or above, my Webmin version is 1.831 and my Usermin version is 1.701

@iliajie
Copy link
Collaborator

iliajie commented Apr 10, 2017

Are you installing it or just copying it manually?

@brianforan
Copy link
Author

Installing from Webmin > Usermin configuration > Usermin modules

@iliajie
Copy link
Collaborator

iliajie commented Apr 10, 2017

No. Just copy it manually.

@iliajie
Copy link
Collaborator

iliajie commented Apr 10, 2017

I didn't export it as module.

@brianforan
Copy link
Author

Ok, installed manually and reset via the kill -9 commands again, as root. Still not working. Is it possible there's something wrong with the webmin install itself?

@iliajie
Copy link
Collaborator

iliajie commented Apr 10, 2017

There is something wrong with your Usermin. You mentioned that there is nothing in /etc/usermin. I'm starting to think that it's not right. Can you download the Debian package from webmin.com, extract it and copy /etc/usermin from there accordingly?

@brianforan
Copy link
Author

Sorry for the confusion. /etc/usermin/ is populated as it should be. The only folder in /usr/share/usermin/ is authentic-theme - I mixed the two directories up.

@iliajie
Copy link
Collaborator

iliajie commented Apr 10, 2017

What? You don't have Usermin installed at all? Can you just run apt-get install usermin?

@iliajie
Copy link
Collaborator

iliajie commented Apr 10, 2017

Or did you try logging in as root?

@brianforan
Copy link
Author

I mean, I was in root. I just got out of root though. This is the result of ls in /usr/share/usermin/

authentic-theme filemin

apt-get install usermin cannot locate package usermin, but I can install it directly. However.. usermin works fine

@brianforan
Copy link
Author

With the fresh install of Usermin the other day this is working as well with your copy of filemin

@iliajie
Copy link
Collaborator

iliajie commented Apr 14, 2017

Great. However, your fresh install most likely has old version of the theme, this is why it's still working.

New version of Usermin will include latest versions of both Filemin and Authentic Theme.

@brianforan
Copy link
Author

So the new version of Usermin when it's released won't break anything, will it? If it includes the latest versions of everything... everything seems to be good then.

@iliajie
Copy link
Collaborator

iliajie commented Apr 14, 2017

Yes.

iliajie pushed a commit that referenced this issue May 5, 2017
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

2 participants