Hi!

I have installed the mediawiki appliance and it works fine. I want to know where the files are located? Normally on a server they are in the www or public_html folder.

I even tried connection to sftp using filezilla but there are only dot files there.

For example, I have uploaded a file with the following path: http://192.168.0.102/images/c/ce/Nutshell.png

It worrks fine on the browser but I want to see the actual image folder location.

I want the same for joomla appliance also.

Thanks.

Replies (10)

Usually only in those locations when put there by an end user

Reply 1

Hopefully I'm not leading you too far astray! :)

When installed by package management they are usually put somewhere else. Have a look in /usr/share is a likely place for the actual install folder. But don't put anything in there (it's naughty!) There should be links there to where the user added files actually are, I'm not sure but have a look in /etc/<appname>.

I'm not sure - they should be there somewhere!

Reply 2

Perhaps it renames them? Have a bit of a search and read over on the MediaWiki site and they may be able to shed some light on how it stores images. It must put them somewhere. They may also be able to tell you likely spots where you should be able to find them.

Thanks JedMeister, I

Reply 3

Thanks JedMeister,

I searched my filesystem for Nutshell.png but it came up with nothing.

Looks like the file is not there on the filesystem. :(
 

Images location, and how to find it

Reply 4

MediaWiki Images are stored in /var/lib/mediawiki/images/

How did I find it? I went to /var/www (which in 11.0 includes convenience links exactly for this reason, to help new users find where the specific application stores it's files). /var/www includes a symlink called webroot which points to /usr/share/mediawiki. That directory includes a symlink called images which points to /var/lib/mediawiki/images

I've updated the MediaWiki development version to include the images symlink in /var/www as well, for convenience. It will be included in the next release of the appliance.

One more thing, This path

Reply 5

One more thing,

This path /var/lib/mediawiki/images/

is this inside the virtual machine or the host?

Also, if this is in the guest, then how to access it since the guest turnkey does not give any console or gui?

Thanks.

On the TKL appliance filesystem

Reply 6

There are a myriad ways to interact with TKL appliances. You may want SFTP (eg WinSCP, Filezilla) and SSH (eg PuTTY) clients. Or you can pretty much do anything through Webmin (port 12321) if you prefer a GUI.

Go up one level

Reply 7

When you log in via SFTP the default start location is the user's home directory. The root users default home directory is /root so if you go up one level (click the folder labeled "..") and you will be in the base of the file system ie /

From there you should be able to navigate to /var

So I belive the files are in

Reply 8

So I belive the files are in the guest. When I connect using filezilla, it only shows:

 

root >

> .bashrc.d

> .cache

> .gnupg

> .bashrc

> .penv

> .profile

> .rnd

No other folders like /var/ etc are available.

I can access them using the webadmin file manager, but its a bit slow.

No worries :)

Reply 9

Any more questions don't hesitate to ask.

Thanks

Reply 10

Thank you so much for being patient with me. I have it how.