Diskussionen
Tauschen Sie sich untereinander aus.

Ihr Warenkorb

Ihr Warenkorb ist leer.

ViMP Admin-Handbuch

Laden Sie die ViMP 2.6 Admin-Dokumentation herunter!

Zum Download!

ViMP Hosting

Alles aus einer Hand! Hosten Sie Ihr ViMP-Portal in unserer cloud-basierten SaaS-Lösung!
 
ViMP Hosting

ViMP Server

Dedizierte Power für Ihr ViMP-Portal bei voller Kontrolle und exklusiver Nutzung!
 
ViMP Server

Support-Forum

Avatar
chanmakara
Beiträge: 24
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
[Zuletzt bearbeitet chanmakara, 13.09.2011 10:22]
13.09.2011 10:21
Avatar
support
ViMP Support
Beiträge: 3789
Hello chanmakara,

fyi: after installing the osTube-import-module, you can show a helpfile in the ViMP-directory by typing
iconCode:
./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:
iconZitat:

-the above commands are correct?

Nearly, you have to type the options before the dsn like this:
iconCode:
./symfony framework:import --base-dir="/var/www/ostube
mysql://ostubedb-user:ostubedb-pw@localhost/ostubedb-name[/code]
If you have a working osTube and the ViMP on the same server, you don´t need

iconZitat:
-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.

iconZitat:
-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:
iconCode:
...
>> 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
Avatar
chanmakara
Beiträge: 24
Dear Support,

Thank for your quick response and detail information.

Best regards,

Makara
14.09.2011 03:49
Avatar
chanmakara
Beiträge: 24
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
17.09.2011 03:39
Avatar
support
ViMP Support
Beiträge: 3789
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,
ViMP Support Team
20.09.2011 14:20
Avatar
chanmakara
Beiträge: 24
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
21.09.2011 03:12
Avatar
support
ViMP Support
Beiträge: 3789
Hello Makara,

iconZitat:
you have to set the options before the mysql-dsn.


cheers,
ViMP Support Team
28.09.2011 16:46
Avatar
dinamozzz
Beiträge: 36
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
21.10.2011 09:54
Avatar
support
ViMP Support
Beiträge: 3789
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,
ViMP Support Team
28.10.2011 14:42
Avatar
overclocker.mad@gmail.com
Beiträge: 7
hi
can i import ostube 2.1 and 2.3 to vimp 2.2?
14.12.2011 10:46
Avatar
support
ViMP Support
Beiträge: 3789
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,
ViMP Support Team
14.12.2011 17:44
Avatar
overclocker.mad@gmail.com
Beiträge: 7
that means that i need to update 2.1 directly to 2.6
and 2.3 to 2.6 and then to vimp?
14.12.2011 21:10
Avatar
support
ViMP Support
Beiträge: 3789
Hello,

yes, the import only works with osTube 2.6.

cheers,
ViMP Support Team
21.12.2011 14:20
Avatar
overclocker.mad@gmail.com
Beiträge: 7
maybe i can import it manualy ?
21.12.2011 16:55
Avatar
support
ViMP Support
Beiträge: 3789
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,
ViMP Support Team
22.12.2011 12:31
Loggen Sie sich ein oder registrieren Sie sich, um Forenbeiträge zu verfassen.