[SOLVED] Uninstall gallery 2

rafton

Joined: 2009-10-08
Posts: 6
Posted: Fri, 2009-11-13 17:09

Hi,

Forums say to uninstall gallery 2 I should delete gallery2/ the data folder and the database. However on my server I only see a folder called g2data. This is in the public.html file as well as in a folder called www. With the g2data folder in both spots are folders called images, install, lib, modules, themes, upgrade. Can I just delete g2data and these other folders in both the public.html and www folders to uninstall or is there something else?

Thanks in advance!!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-11-13 17:15

Sounds like you installed Gallery to the root of your site instead of to a 'gallery2' directory. Here is a list of all files and directories Gallery2 has at the root of it's directory for a default install. Backup, I am not responsible for you deleting something else that is critical to your site. :)

Quote:
LICENSE
MANIFEST
README.html
bootstrap.inc
config.php
embed.php
images
index.php
init.inc
install
lib
locale
main.php
modules
themes
upgrade

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
rafton

Joined: 2009-10-08
Posts: 6
Posted: Fri, 2009-11-13 18:43

Thanks!

 
rafton

Joined: 2009-10-08
Posts: 6
Posted: Fri, 2009-11-13 19:12

Yikes!

I delete all that's above but whenever I try to do anything after that the g2data and modules folders reappear as if by magic. What am I failing to do?

Thanks again in advance!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-11-13 19:20
Quote:
g2data and modules folders reappear as if by magic

Not possible. There is most likely directories or files underneath them that you don't have permission to delete. So you are not able to actually delete them. You should be seeing some error to that effect in what ever program you're using to delete these files.

This will happen if PHP or the web server runs as a different account than your user account. You can use the cleanup script here to change the permissions on those directories (and all sub-directories and files) to 777 so you can delete them all:
http://codex.gallery2.org/Downloads:Cleanup_Script
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
rafton

Joined: 2009-10-08
Posts: 6
Posted: Fri, 2009-11-13 19:34

Hm....

I've run the script but the same thing happens. I've looked in both these folders and all files are 777. Maybe it's impossible or I'm describing it incorrectly however what appears to happen is I delete the folders, they certainly appear to be gone, but then when I perform any other operation like say adding another folder, poof, they come back. Any other ideas?

Sorry to be a pain!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-11-13 19:45

What program are you using? An FTP program? Log into your host's control panel and browse using their file manager to verify the files are there. If you're still having problems contact your host to delete them.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
rafton

Joined: 2009-10-08
Posts: 6
Posted: Fri, 2009-11-13 20:45

Well...this was my screwup. I thought I had run the script but must have entered the path incorrectly. Once run I could remove everything.

Thanks for all the prompt help. Much appreciated.

 
eddy@inpulsearts.com
eddy@inpulsearts.com's picture

Joined: 2009-08-04
Posts: 14
Posted: Tue, 2009-11-17 22:42
nivekiam wrote:
Sounds like you installed Gallery to the root of your site instead of to a 'gallery2' directory. Here is a list of all files and directories Gallery2 has at the root of it's directory for a default install. Backup, I am not responsible for you deleting something else that is critical to your site. :)

Quote:
LICENSE
MANIFEST
README.html
bootstrap.inc
config.php
embed.php
images
index.php
init.inc
install
lib
locale
main.php
modules
themes
upgrade

Should there be a folder called "gallery2" in the main/home directory, or can it be named anything at all?

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Art is my Religion

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-11-17 22:46
Quote:
can it be named anything at all?

Yes. It all depends on what you did when you installed gallery. What's the URL to your Gallery install?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
eddy@inpulsearts.com
eddy@inpulsearts.com's picture

Joined: 2009-08-04
Posts: 14
Posted: Tue, 2009-11-17 23:19

http://www.inpulsearts.com/art

That should be it, unless you are talking about another URL?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-11-17 23:22

Then art is the directory in question for you. If you want to uninstall Gallery, just delete the art directory, your g2data directory (if it's no under your art directory and the database.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
eddy@inpulsearts.com
eddy@inpulsearts.com's picture

Joined: 2009-08-04
Posts: 14
Posted: Tue, 2009-11-17 23:35

thank you very much