134 | | === error: The module file is already there === |
135 | | * rerunning an .eb file that already is installed will result in this error . To overwrite the module file run with '''''-f''''' argument. |
| 134 | === Q: Why can I not re-deploy a module and receive an error that the module file is already present === |
| 135 | A: By default !EasyBuild will refuse to overwrite an existing installation. Modules that have been deployed and are used for production should never be modified: deploy a new version instead. During debugging/testing it may be necessary to overwrite a module though; I that case you can force install using ''-f'' like this: |
| 136 | {{{ |
| 137 | $> eb -f --robot --robot-paths=:/apps/sources/EasyBuild/custom/ /path/to/MyEasyConfig-1.2.3.eb |
| 138 | }}} |
| 139 | === Q: I've updated the source code for an app, but when I try to re-deploy with !EasyBuild nothing changes; What is wrong? === |
| 140 | A: !EasyBuild will first check whether the source code was previously already downloaded and cached. If yes, it will not re-download again. The cached sources are located in {{{/apps/sources/[a-z]/NameOfTheApp/}}}. Removing the existing download will force !EasyBuild to re-download the (updated) source code. |
| 141 | === Q: !EasyBuild fails to download the source code. How can I continue the installation process? === |
| 142 | A: First check if the location where !EasyBuild tries to download the source code is still up-to-date. If not update the !EasyConfig. If the location is correct, but !EasyBuild cannot access this location directly for example because it is blocked by our firewall or because it requires authentication, you can try to download the source manually and put it in the cache directory for the app in {{{/apps/sources/[a-z]/NameOfTheApp/}}}. When !EasyBuild finds the cached source code it will skip the download step and continue. |