Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Anyone missing profile pics after 3.0 upgrade while using local storage?

$
0
0

Hi @it33, I guess it might be the "Current working directory" and the FileSettings.Directory property defined in config.json didn't work together properly, here is what I thought was happend:

The step 6 in upgrade doc said

  1. Run ./platform -upgrade_db_30 ...

which implied that the current directory is {mattermost}/bin/,

and in the official config.json, the FileSettings.Directory is set to "./data/" by default,

then the data path became {mattermost}/bin/data which doesn't exist of course.

Maybe if we ran bin/platform -upgrade_db_30 under {mattermost} while upgrading, then the problem won't happen.

Below is the logs produced during upgrading:

[2016/05/21 16:14:20 UTC] [INFO] Current version is 3.0.0 (3.0.2/Tue May 17 21:26:28 UTC 2016/ac509b114df1c1b4b841eded74fb797805e0162d)
[2016/05/21 16:14:20 UTC] [INFO] Enterprise Enabled: false
[2016/05/21 16:14:20 UTC] [INFO] Current working directory is /mattermost/bin
[2016/05/21 16:14:20 UTC] [INFO] Loaded config file from /mattermost/config/config.json
[2016/05/21 16:14:20 UTC] [INFO] Pinging sql master database
[2016/05/21 16:14:20 UTC] [INFO] Pinging sql replica-0 database
[2016/05/21 16:14:20 UTC] [INFO] Attempting to run speical upgrade of the database schema to version 3.0 for user model changes
[2016/05/21 16:14:36 UTC] [INFO] Starting speical 3.0 database upgrade with performed_backup=YES team_name=the_team
[2016/05/21 16:14:36 UTC] [INFO] Primary team the_team will be left unchanged
[2016/05/21 16:14:36 UTC] [INFO] Upgrading primary team the_team
[2016/05/21 16:14:36 UTC] [WARN] No profile image to move for user01@example.com
...
[2016/05/21 16:14:36 UTC] [WARN] No profile image to move for usernn@example.com
[2016/05/21 16:14:36 UTC] [INFO] Upgraded nn users
[2016/05/21 16:14:36 UTC] [INFO] Altering other scheme changes needed 3.0 for user model changes
[2016/05/21 16:14:36 UTC] [INFO] Finished running speical upgrade of the database schema to version 3.0 for user model changes
[2016/05/21 16:14:36 UTC] [INFO] The database schema has been upgraded to version 3.0.0

Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>