DevED
(Seth)
1
Upgrading mattermost trying to run this command:
root@EDMM:/opt/mattermost# sudo find mattermost/ mattermost/client/ -mindepth 1 -maxdepth 1 ! ( -type d ( -path mattermost/client -o -path mattermost/client/plugins -o -path mattermost/config -o -path mattermost/logs -o -path mattermost/plugins -o -path mattermost/data ) -prune ) | sort
I’ve got
find: mattermost : No such file or directory
find: mattermost/client/ : No such file or directory
What is wrong there?
Gavin
(Gavin)
2
You are in the directory already.
DevED
(Seth)
3
Hi Gavin, perhaps I wasn’t clear enough.
I’m following this instruction:
And was expecting that it will delete the contents of the folder but faced described error. Am I doing something wrong?
jprusch
(Jan-Peter Rusch)
4
Switch to /opt and not /opt/mattermost
1 Like
DevED
(Seth)
5
Thanks a lot @jprusch. Clearly I’ve missed that {install-folder} is /opt not /opt/mattermost
My respect.
1 Like