Hi Michael,
after updating my VirtualHere CloudHub Raspberry 4 and 5 servers, the .profile file got obviously deleted, were I put in some custom aliases.
No problems though, but this file was always retained after an upgrade.
Just to let you know.
/Thomas
.
Thanks for the info. I will double check this. When upgrading there are only two files that are saved which is
/root/config.ini
which is the server configuration and licensing file and/root/server.pem
(if that exists, which is the SSL setup).
I had no issues up until 4.8.2 with the .profile file, it was persistent over all upgrades. Starting with 4.8.3 it was deleted.
.
What is a
.profile
file? You mean withash
? yes that will be deleted its meant to, only those two files will be preserved as mentioned above.
I have a .profile file within /root. This contains some shell commands (ash) that I use more often, like those:
alias temp='vcgencmd measure_temp'
alias la='ls -la'
alias off='poweroff'
...
.
OK i will update cloudhub in the next version to preserve
.profile
files