web (data-resources) migration
Recently, I was moving a couple of web portals (backed by Django) to another server. Because all web portals was developped to be transferable, many unexpected problems were encountered.
Soft links
1
cp --remove-destination ./ ./
mixed absolut and relative file path
Implicit required R packages
Instead of loading packages in the header, some functions were loaded using “::”
Function signature changed
1
2
3readr::read_rds(path=) #deprecated
read::read_rds(file=) #current signatureadmin keyword blocked
My organization blocked any requests containing admin keyword (403 forbidden). Thus, some static files, such as sb-admin.js, could be loaded. These have to be replaced or renamed.