Image dissappeared in File manager after upgrade

Permalink
I have just upgraded from 4.2.2 to the latest version of C5 and all the images that were in the filemanager are no all gone.

They all show up on the front end and i can see the files on the server via ftp. They even all show in the database in the FileVersions table.

Can anyone help?

TMDesigns
 
exchangecore replied on at Permalink Reply
exchangecore
Did you incrementally go up versions from 5.4.2.2 to 5.6.3.1 or just straight there? I've run into some funny behaviors trying to jump to many versions like that before.
JohntheFish replied on at Permalink Reply
JohntheFish
I guess the follow on question is at which step of the upgrade did the images disappear?
TMDesigns replied on at Permalink Reply
TMDesigns
I went incremently up to the next highest sub version of 5.5.2.1, 5.6.0.1, 5.6.1, 5.6.2 etc

All a bit strange
SheldonB replied on at Permalink Reply
SheldonB
what php version is your server running because the requirements jumped from 5.2 to 5.3

is it just the thumbs that are missing?
TMDesigns replied on at Permalink Reply
TMDesigns
# concrete5 Version
5.6.2.1

# concrete5 Packages
Expander (1.0), Facebook Like Button (1.0), Google Map (Premium) (1.1.1), Link List (1.0), Login (1.0), Randomizer (1.2.1), Vimeo Player (1.0).

# concrete5 Overrides
blocks/youtube, blocks/autonav, elements/header_required.php, single_pages/page_not_found.php, single_pages/testimonials.php, single_pages/dashboard, themes/zJHV, themes/JHV, themes/Site.zip

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.3.27

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, ffmpeg, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, ionCube Loader, json, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SourceGuardian, SPL, SQLite, sqlite3, ssh2, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 60
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 256M
post_max_size - 128M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 128M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH


Does that help. Its not missing thumbnails the are no images or files in the file manger at all
SheldonB replied on at Permalink Reply
SheldonB
http://www.concrete5.org/community/forums/installation/image-not-found-missing-images-after-upgrade/

found this in the forms its basically the same problem (not sure if it fits you though)
TMDesigns replied on at Permalink Reply
TMDesigns
Hi,

I have tried this and nothing.

All I get is No files found. in the file manager. I can see the paths etc in the DB and also I have all the files permissions set to 777. Never seen this before. I will have to set the project up again and then look to see at what point the upgrade stopped showing images.
TMDesigns replied on at Permalink Reply
TMDesigns
I have just reinstalled the back up and tried the process again.

The files disappear when I upgrade from concrete5.5.2.1 to concrete5.6.0.2

All the images are there showing on the front end but all I get in the files managers is No files found.
JohntheFish replied on at Permalink Reply
JohntheFish
According to the download notes, you should be able to go straight to 5.6.3.1 from 5.5.2.1. Maybe that would skip past your problem.

There were some bugs in the upgrade scripts a few versions back, but I don't remember anything to do with lost files.
TMDesigns replied on at Permalink Reply
TMDesigns
Hmmmm just tried and got this error.

Also tried concrete5.5.2.1 to concrete5.6.1.2 No Files

An Unexpected Error occurred while upgrading: #0 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty/adodb/adodb.inc.php(1074): adodb_throw('mysqlt', 'EXECUTE', 1054, 'Unknown column ...', 'select Collecti...', false, Object(ADODB_mysqlt)) #1 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty/adodb/adodb.inc.php(1030): ADOConnection->_Execute('select Collecti...') #2 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty/adodb/adodb.inc.php(796): ADOConnection->Execute('select Collecti...', Array) #3 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/core/models/block.php(100): ADOConnection->Query('select Collecti...', Array) #4 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/helpers/concrete/upgrade/version_560.php(882): Concrete5_Model_Block::getByID('934', Object(Page), Object(Area)) #5 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/helpers/concrete/upgrade/version_560.php(255): ConcreteUpgradeVersion560Helper->migrateBlockPermissions() #6 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/core/controllers/single_pages/upgrade.php(255): ConcreteUpgradeVersion560Helper->run() #7 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/core/controllers/single_pages/upgrade.php(44): Concrete5_Controller_Upgrade->do_upgrade() #8 [internal function]: Concrete5_Controller_Upgrade->view('tools', 'required', 'upgrade') #9 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/core/libraries/controller.php(267): call_user_func_array(Array, Array) #10 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/core/libraries/controller.php(237): Concrete5_Library_Controller->runTask('view', Array) #11 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/core/libraries/view.php(774): Concrete5_Library_Controller->setupAndRun() #12 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/tools/upgrade.php(6): Concrete5_Library_View->render('/upgrade') #13 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/startup/tools_upgrade_check.php(9): include('/home/jhvisual/...') #14 /home/jhvisual/public_html/_newsite/updates/concrete5.6.3.1_updater/concrete/dispatcher.php(105): require('/home/jhvisual/...') #15 /home/jhvisual/public_html/_newsite/concrete/startup/updated_core_check.php(6): require('/home/jhvisual/...') #16 /home/jhvisual/public_html/_newsite/concrete/dispatcher.php(14): require('/home/jhvisual/...') #17 /home/jhvisual/public_html/_newsite/index.php(1): require('/home/jhvisual/...') #18 {main}
TMDesigns replied on at Permalink Reply
TMDesigns
Still no idea why my files are not showing up in the file manger yet they are on the site?
TMDesigns replied on at Permalink Best Answer Reply
TMDesigns
Problem solved with some help from the core team.

"The problem was with the file permissions. When the upgrade was complete the file manager would only allow you to see pictures that you uploaded yourself. I removed "file uploader" from the permissions for "search files in file manager" and my user was able to view all of the files"