A few errors after server migration

Hello,

 

I transferred my Dolphin site to anohter server, but after transferred videos, sounds and chat is not working.

I cant clean up the cache. I installed all Script Requirements of Dolphin file permissions to.

Quote · 18 Dec 2012

 

I cant clean up the cache.

 You must do this manually..

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 18 Dec 2012

 

 

Ok i uploaded the sites.zip to my site and then unarchived it to /modules/boonex and when i add sites i still get no thumbnail any idea what could be the problem? I'm using 7.09

 Please clear your cache, in Admin panel.

Or manually clean the three cache folders via cPanel, File Manager.

all three have .htaccess files, they must remain.

  1. cache
  2. public_html
  3. tmp

 Watch in full screen

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 18 Dec 2012

Did not work..

Quote · 18 Dec 2012

did you reset or reapply the permissions via SSH as per the install directions page?

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 18 Dec 2012

The problem is that uploaded files owner changed after you move to new server, it requires to change owner for all already uploaded files in many folders. 

Here are commands to run to change owner for all uploaded files (it also cleans cache files). It changes files owner in Dolphin standard modules, it doesn't change permissions for 3rd-party modules.

IMPORTANT:  change www-data to your own user, under which one your web server is running.

Run it in Dolphin root folder.

 
rm -f ./cache/*
rm -f ./cache_public/*
rm -f ./tmp/*
rm -f ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/HTML/*
rm -f ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/CSS/*
rm -f ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/Test/*
rm -f ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/URI/*

chown www-data:www-data langs/*.php
chown www-data:www-data media/images/banners/*
chown www-data:www-data media/images/blog/*
chown www-data:www-data media/images/classifieds/*
chown www-data:www-data media/images/membership/*

chown www-data:www-data flash/modules/board/files/*
chown www-data:www-data flash/modules/chat/files/*
chown www-data:www-data flash/modules/photo/files/*
chown www-data:www-data flash/modules/im/files/*

find flash/modules/mp3/files -regextype posix-egrep -regex '.*/[0-9]+.[a-z0-9]+$' -exec chown www-data:www-data {} ;
find flash/modules/video/files -regextype posix-egrep -regex '.*/[0-9]+(_small)?.[a-z0-9]+$' -exec chown www-data:www-data {} ;
find flash/modules/video_comments/files -regextype posix-egrep -regex '.*/[0-9]+(_small)?.[a-z0-9]+$' -exec chown www-data:www-data {} ;

find modules/boonex/forum/classes/ -regextype posix-egrep -regex '.*/[a-z]{2}' -exec rm -rf {} ;
find modules/boonex/forum/js/ -regextype posix-egrep -regex '.*/[a-z]{2}' -exec rm -rf {} ;
find modules/boonex/forum/layout/ -regextype posix-egrep -regex '.*/[a-z]+_[a-z]{2}' -exec rm -rf {} ;
find modules/boonex/forum/data/attachments/ -exec chown www-data:www-data {} ;

chown www-data:www-data modules/boonex/avatar/data/images/*
chown www-data:www-data modules/boonex/photos/data/files/*
chown www-data:www-data modules/boonex/files/data/files/*
chown www-data:www-data modules/boonex/desktop/file/*
chown www-data:www-data modules/boonex/profile_customize/data/images
chown www-data:www-data modules/boonex/profiler/log/*
chown www-data:www-data modules/boonex/smtpmailer/data/logs/*
chown www-data:www-data modules/boonex/sites/data/images/thumbs/*

 

Probably, you may need to run folders changing folders permissions command:

http://www.boonex.com/trac/dolphin/wiki/DetailedInstall#InstallScript-Step1-Permissions

http://www.boonex.com/trac/dolphin/wiki/DetailedInstall#Installthemodules

Rules → http://www.boonex.com/terms
Quote · 18 Dec 2012

That is a great snippet! Thanks

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 18 Dec 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.