No share link after migration and update
January 11, 2017 at 11:42 am #107986January 12, 2017 at 9:14 am #107993
Bonjour Guy et meilleurs voeux,
The shares data is kept in the database under the table ajxp_simple_store.
Did you replace the database entirely or just run the upgrade scripts ?
What tells you that the shares have disappeared ? Can you not access the public links anymore.. or have the shares information associated to the files or dir disappeared from the UI ?
Could you run this sql to see if there are shares present in your db ?
January 12, 2017 at 9:26 am #107995
Sorry forgot to paste the script
select count(*) from ajxp_simple_store where store_id = 'share';
January 12, 2017 at 9:30 am #107996
Hi did you have a look at https://pydio.com/en/docs/kb/miscellaneous/fix-public-link-after-upgrading-pydio-7 ?
January 12, 2017 at 12:49 pm #108000
thanks for your answers.
effectively, the shares information associated to the files had disappear from the UI.
The share directories appear in the welcome page, but the share informations are not present near the previously shared files.
I tried the “select count(*) from ajxp_simple_store where store_id = ‘share’;” on the 2 machines (the first pydio is still on line for the moment and the new one is only accessible inside the network).
In the first one, the count is 503 and in the new pydio 7.03, the count is 487.
The copy has been done two weeks ago, and this point can explain the difference.
On the other hand, i tried the phpmyadmin on the two machine and i can write that, in the first (6.2), the table “ajxp_simple_store” weighs 6,5Mb for 520 lines and in the new one (7.03) the same table weighs 18,3Mb for 520 lines … strange, isn’it ?
I tried also the make a new shared link on the new pydio, and it’s working perfectly….
The public link sent me to the right file when i tried to download the shared file.
I have been looking for several days to solve this problem … can you help me ?
January 12, 2017 at 2:33 pm #108001
Please try to copy (overwrite) PYDIO_INSTALL_PATH/data/plugins/metastore.serial to same place on new instance
and please don’t forget to fix permission so that Pydio(apache) can read/write
January 12, 2017 at 3:02 pm #108003
Thanks for your help tropicalmango, indeed, the links are back !
Very interesting, i leaned something.
But, unfortunately, an error occured when you follow the link : “Error while parsing JSON response : Unexpected token < in JSON at position 0” in chrome and : “Error while parsing JSON response : JSON.parse: unexpected character at line 1 column 1 of the JSON data” in firefox.
If i make a new public link, then it’s work.
We move forward ! But for that error sentence, would anyone have an idea?
January 13, 2017 at 10:44 am #108012
If you can, please open the web developer tools and try to locate the actual response.
My bet is it’s something like :
Not sure why it happens.
January 23, 2017 at 10:46 am #108189
sorry for my late answer. A week of illness.
I tried the devellopment tools on two links.
One old link (Pydio 6) and that’s the result :
One new link (Pydio 7) and that’s the result :
I don’t understand, i think the old links are not working, but i don’t know why …
Somebody have an idea ?
You must be logged in to reply to this topic.