First of all please let me say that i’ve searched web intensively to find the solution but all i came up with DreamHost zend_extension=opcache.so line. I dont have that line since i run PHP 5.4.16.
Owncloud version 8.1.9
BUT here is the interesting thing: when i do version check from /var/www/html/owncloud
i get Cloud version 8.1.9
when i do version check from /usr/share/owncloud
Iget following,
ownCloud is not installed - only a limited number of commands are available
ownCloud version 9.0.2
Im very close to total noob in centos\owncloud please advice how can i solve error 500
You probably installed a package from the centOS-community (/usr/share/owncloud) and on top of that a version either from the owncloud packages or manual install.
What did you do last Friday? Running updates? Did the OC 9.0.2-setup break or what is your actual problem except for two setups?
That is possible. So all your data are in /var/www/html/owncloud/data/? Or in /usr/share/owncloud/data/?
Before you change anything, please make a backup of your database (you can do it with web-interfaces like phpmyadmin or directly on the terminal with mysqldump), the config/ and the data/ folder of the setup which actually contains the data.
If the centOS package is the one your are NOT using (and if that is /usr/share/owncloud and /usr/share/owncloud/data/* doesn’t contain your data), if’ve you’ve made your backup and double checked, you can try and remove the centOS package.
If it is not the centOS package you want to remove, we have to figure out, how you installed the other version.
/var/www/html/owncloud/data/ - has data dir but there is only owncloud.log file in it.
/usr/share/owncloud/data/ - doesnt even have data folder.
Not sure i understood you correctly. Are you talking about backing up configuration data or the actual data that i an accesing via HTTP?
HTTP data is back up. I have latest files backed on outside source + there is a redundancy on top of redundancy so this is only matter of making cloud work and reconnecting data back. That is why i am thinking about just wiping everything and do fresh 9 installation
By the way if i open log file in /var/www/html/owncloud/data
i get this
1 {“app”:“PHP”,“message”:“fopen(/var/www/html/owncloud/config/config.php): failed to open stream: No such file or dir ectory at /var/www/html/owncloud/lib/private/config.php#142”,“level”:3,“time”:“2015-02-10T15:39:03+00:00”}¬
i really recommend to delete everything and start from scratch. As you can see you even have three different installation folders. How should some one guess which one the correct installation was?
Making a good backup on client side and installing a fresh oC 9.1 installation is probably the cleanest and fastest way.
As i stated above, that what i am thinking but here are the questions i have:
I cant do client side backup (if i understand correctly client side is HTTP access) but i have backups i’ve done from centos. This backups are done in version 8, can i load them in version 9?
Do i need to back up configuration settings or just re-setup everything again?
I cant do client side backup (if i understand correctly client side is HTTP access) but i have backups i’ve done from centos. This backups are done in version 8, can i load them in version 9?[/quote]
You can take a backup from server or all clients. But verify manually that the data are really present, put it on an external disk, disconnect the disc and then start reinstalling.
If you knew where you exactly installed it, you could do that. I terms of files, they should be in backups. What will be lost is everything in the database which would be most app-data (calendar, contacts, bookmarks, …), user settings, user preferences, sharing, …
Also be aware that the three different installations might also have messed around with the webservers configs and you might face similar / other issues when just installing from scratch
All the data was always backed up into external SSD so yeah its defiantly there.
Well, i wasn’t the one who setup the server originally, i just ook over it, which makes everything that much harder, but on the other hand none of the users use calendar, contacts, bookmarks etc
PS Heh its all sounds logical but a bit to blurred for me …im 2 out of 10 in linux. I guess ill have to do lots of googling.
Thank you so much for your help guys.
PS2 sorry cant post anymore as new user,. Have to wait 18hours.