RPi Emoncms-Emonhub not storing any data

I did have a great working system based on the RPi with the emoncms and emonhub install. I used the HD method but forgot to expand my filesystem and everything came to a grinding halt when it filled up.

I expanded the filesystem and it all seemed to go well but it now looks like emoncms isn't saving any data.

I have tried a full purge and reinstall of emoncms, php, mysql but still have the same problem.

Emoncms was installed using apt-get and all settings look correct on my end.

Emoncms is receiving data from emonhub but nothing is being stored. Emonhub is also send data to emoncms.org fine. 

Any ideas?