Support-Forum
Dear Vimp,
We would like to import everything from ostube to vimp.
Version/Installation path:
-ostube 2.6 (/var/www/ostube)
-vimp pro with hd transcode 2.1.4 (/var/www/vimp)
# tar xvzf vimp.module.ostubeimport-2.1.4-r19425.tar.gz
#./symfony rebuild
#./symfony framework:import mysql://OSTUBE-DBUSERNAME : OSTUBE- DBPASSWORD@localhost/OSTUBE-DBNAME --base-dir="/var/www/ostube"
We have the following questions
-the above commands are correct?
-it wont make change anything in ostube?
-if we break the process in the middle of the way and we run it again it's resume or restart?
Let us know if you need more input or you dont understand.
Best Regards,
Makara
We would like to import everything from ostube to vimp.
Version/Installation path:
-ostube 2.6 (/var/www/ostube)
-vimp pro with hd transcode 2.1.4 (/var/www/vimp)
# tar xvzf vimp.module.ostubeimport-2.1.4-r19425.tar.gz
#./symfony rebuild
#./symfony framework:import mysql://OSTUBE-DBUSERNAME : OSTUBE- DBPASSWORD@localhost/OSTUBE-DBNAME --base-dir="/var/www/ostube"
We have the following questions
-the above commands are correct?
-it wont make change anything in ostube?
-if we break the process in the middle of the way and we run it again it's resume or restart?
Let us know if you need more input or you dont understand.
Best Regards,
Makara
[Zuletzt bearbeitet chanmakara, 13.09.2011 10:22]
13.09.2011 10:21
Hello chanmakara,
fyi: after installing the osTube-import-module, you can show a helpfile in the ViMP-directory by typing
And this link may help you, too:
http://www.vimp.com/en/documentation-faq-article/items/install-and-use-the-ostube-import-module.html
your questions:
Nearly, you have to type the options before the dsn like this:
If you have a working osTube and the ViMP on the same server, you don´t need
No, the import doesn´t change anything with the osTube when you use the above command.
Beware of the option --move, this moves instead of copy the files from osTube to ViMP for users with too small HDDs.
It doesn´t resume, it restarts.
If the import doesn´t succeed, please contact me at support@vimp.com (only in this case, thx)
If you have a big osTube-Portal, maybe you get a message like this:
Please note the whole output that is shown while importing and send it to me. Then I can send you a modified import class. With it you can resume the import.
And be patient with the import. I´ve just run an import with ~7000 media and ~250 users on a (small) local vhost. It needed about 20 hours just importing the database and broke with the above message. But that´s no problem, we´ll succeed then together :-)
Kind Regards,
fyi: after installing the osTube-import-module, you can show a helpfile in the ViMP-directory by typing
Code:
./symfony help framework:import
And this link may help you, too:
http://www.vimp.com/en/documentation-faq-article/items/install-and-use-the-ostube-import-module.html
your questions:
Zitat:
-the above commands are correct?
Nearly, you have to type the options before the dsn like this:
mysql://ostubedb-user:ostubedb-pw@localhost/ostubedb-name[/code]Code:
./symfony framework:import --base-dir="/var/www/ostube
If you have a working osTube and the ViMP on the same server, you don´t need
Zitat:
-it wont make change anything in ostube?
No, the import doesn´t change anything with the osTube when you use the above command.
Beware of the option --move, this moves instead of copy the files from osTube to ViMP for users with too small HDDs.
Zitat:
-if we break the process in the middle of the way and we run it again it's resume or restart?
It doesn´t resume, it restarts.
If the import doesn´t succeed, please contact me at support@vimp.com (only in this case, thx)
If you have a big osTube-Portal, maybe you get a message like this:
Code:
... >> import - blog comments >> import * calculate statistic fields >> import - users >> import - medias >> import * import settings No database selected [Native Error: MySQL server has gone away]
Please note the whole output that is shown while importing and send it to me. Then I can send you a modified import class. With it you can resume the import.
And be patient with the import. I´ve just run an import with ~7000 media and ~250 users on a (small) local vhost. It needed about 20 hours just importing the database and broke with the above message. But that´s no problem, we´ll succeed then together :-)
Kind Regards,
ViMP Support Team
13.09.2011 18:39
Dear Support,
Thank for your quick response and detail information.
Best regards,
Makara
Thank for your quick response and detail information.
Best regards,
Makara
14.09.2011 03:49
Dear Support,
After running the script
#./symfony framework:import mysql://vimp:vimp@localhost/ostube --force --base-dir="/var/www/ostube"
it copies only database, blog... but not ostube data.
Any advise?
Best Regards,
Makara
After running the script
#./symfony framework:import mysql://vimp:vimp@localhost/ostube --force --base-dir="/var/www/ostube"
it copies only database, blog... but not ostube data.
Any advise?
Best Regards,
Makara
17.09.2011 03:39
Hello chanmakara,
you have to set the options before the mysql-dsn.
.... --force mysql://...
Only the media from osTube will be copied.
With the actual import we have implemented 2 further options "--without-database" and "--without-data". Did you tryout one?
If not, both should happen, the database should be imported and the files should be copied.
cheers,
you have to set the options before the mysql-dsn.
.... --force mysql://...
Only the media from osTube will be copied.
With the actual import we have implemented 2 further options "--without-database" and "--without-data". Did you tryout one?
If not, both should happen, the database should be imported and the files should be copied.
cheers,
ViMP Support Team
20.09.2011 14:20
Dear Support,
I try the following command
/var/www/vimp/symfony framework:import mysql://vimp:vimp@localhost/ostube --without-db --base-dir="/var/www/ostube"
I got the following message
[root@ostube media]# /var/www/vimp/symfony framework:import mysql://vimp:vimp@localhost/ostube --without-db --base-dir="/var/www/ostube"
>> import ----------------------------------------------------------------
>> import osTube 2.6.0 import v1.0.18
>> import ----------------------------------------------------------------
>> import base dir : /var/www/ostube
>> import ----------------------------------------------------------------
>> import * copy user files
>> import - general pictures
PHP Warning: copy(): The first argument to copy() function cannot be a directory in /var/www/vimp/lib/symfony/task/sfFilesystem.class.php on line 77
Warning: copy(): The first argument to copy() function cannot be a directory in /var/www/vimp/lib/symfony/task/sfFilesystem.class.php on line 77
>> import - category pictures
>> import - avatars
>> import File "4_1277632850.jpg" not found.
>> import File "5_1277782030.jpg" not found.
>> import File "63_1279265179.jpg" not found.
>> import File "362_1313346043.jpg" not found.
>> import File "1853_1302692294.jpg" not found.
>> import File "4144_1316168136.jpg" not found.
>> import - medias
and nothing copy.
Please advise.
Best Regards,
Makara
I try the following command
/var/www/vimp/symfony framework:import mysql://vimp:vimp@localhost/ostube --without-db --base-dir="/var/www/ostube"
I got the following message
[root@ostube media]# /var/www/vimp/symfony framework:import mysql://vimp:vimp@localhost/ostube --without-db --base-dir="/var/www/ostube"
>> import ----------------------------------------------------------------
>> import osTube 2.6.0 import v1.0.18
>> import ----------------------------------------------------------------
>> import base dir : /var/www/ostube
>> import ----------------------------------------------------------------
>> import * copy user files
>> import - general pictures
PHP Warning: copy(): The first argument to copy() function cannot be a directory in /var/www/vimp/lib/symfony/task/sfFilesystem.class.php on line 77
Warning: copy(): The first argument to copy() function cannot be a directory in /var/www/vimp/lib/symfony/task/sfFilesystem.class.php on line 77
>> import - category pictures
>> import - avatars
>> import File "4_1277632850.jpg" not found.
>> import File "5_1277782030.jpg" not found.
>> import File "63_1279265179.jpg" not found.
>> import File "362_1313346043.jpg" not found.
>> import File "1853_1302692294.jpg" not found.
>> import File "4144_1316168136.jpg" not found.
>> import - medias
and nothing copy.
Please advise.
Best Regards,
Makara
21.09.2011 03:12
Hello Makara,
cheers,
Zitat:
you have to set the options before the mysql-dsn.
cheers,
ViMP Support Team
28.09.2011 16:46
Dear Support,
Please kindly advise on import script if server ostube and vimp are not on the same server. What command we use?
Best Regards,
Makara
Please kindly advise on import script if server ostube and vimp are not on the same server. What command we use?
Best Regards,
Makara
21.10.2011 09:54
Hello dinamozzz,
if ViMP and osTube are on different servers, I would mount the osTube-folder on the ViMP-server per NFS.
http://en.wikipedia.org/wiki/Network_File_System_%28protocol%29
But the only reason to do so is, if you have not enough disk-space on the ViMP-server. You nead at least 2,5x diskspace of what your osTube needs.
Just copy the whole osTube-folder to your ViMP-Server, zhe osTube doesn´t need to work, and start the import.
cheers,
if ViMP and osTube are on different servers, I would mount the osTube-folder on the ViMP-server per NFS.
http://en.wikipedia.org/wiki/Network_File_System_%28protocol%29
But the only reason to do so is, if you have not enough disk-space on the ViMP-server. You nead at least 2,5x diskspace of what your osTube needs.
Just copy the whole osTube-folder to your ViMP-Server, zhe osTube doesn´t need to work, and start the import.
cheers,
ViMP Support Team
28.10.2011 14:42
hi
can i import ostube 2.1 and 2.3 to vimp 2.2?
can i import ostube 2.1 and 2.3 to vimp 2.2?
14.12.2011 10:46
Hello overclocker.mad@gm,
no, that is not possible, but you can update the osTube to osTube 2.6.
In fact only the database has to be updated.
cheers,
no, that is not possible, but you can update the osTube to osTube 2.6.
In fact only the database has to be updated.
cheers,
ViMP Support Team
14.12.2011 17:44
that means that i need to update 2.1 directly to 2.6
and 2.3 to 2.6 and then to vimp?
and 2.3 to 2.6 and then to vimp?
14.12.2011 21:10
Hello,
yes, the import only works with osTube 2.6.
cheers,
yes, the import only works with osTube 2.6.
cheers,
ViMP Support Team
21.12.2011 14:20
maybe i can import it manualy ?
21.12.2011 16:55
if you can, have a try. I´m not able to do this.
But it´s very more easy to update to osTube 2.6
You can still download the latest Release from ostube.de.
If you didn´t change the template, the normal update should work. If not, check the sql-file and update the database manually.
The update-files are in the install/ folder.
But please understand that we´re not able to support osTube.
cheers,
But it´s very more easy to update to osTube 2.6
You can still download the latest Release from ostube.de.
If you didn´t change the template, the normal update should work. If not, check the sql-file and update the database manually.
The update-files are in the install/ folder.
But please understand that we´re not able to support osTube.
cheers,
ViMP Support Team
22.12.2011 12:31
Loggen Sie sich ein oder registrieren Sie sich, um Forenbeiträge zu verfassen.
