Gallery issues

Hi there … I have gallery installed as a one-click install. I noticed today that when I go to my site, it redirects me to

So then I did what it said and started going through the upgrade steps, but it fails on the system check w/ the storage directory permissions phase, saying to give 777 rights to the g2data directory. I’ve done this, but it is still failing.

After this I went to the panel, and noticed I could just do an upgrade there, so I did that - it said it completed properly. However, still when I go to the gallery site, it presents me w/ the exact same upgrade page.

Kind of stuck here …