Problem
Your import on the command line fails with the following error:
2020-10-19 08:45:11 ERROR cmdline.setup_config:122 Error setting up or checking the configuration: No 'school' was specified in the configuration.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/ucsschool/importer/frontend/cmdline.py", line 120, in setup_config
self.config = setup_configuration(configs, **self.args.settings)
File "/usr/lib/pymodules/python2.7/ucsschool/importer/configuration.py", line 63, in setup_configuration
run_configuration_checks(config)
File "/usr/lib/pymodules/python2.7/ucsschool/importer/utils/configuration_checks.py", line 126, in run_configuration_checks
method()
File "/usr/share/ucs-school-import/checks/sisopi.py", line 44, in test_00_required_config_keys
raise InitialisationError("No {!r} was specified in the configuration.".format(attr))
InitialisationError: No 'school' was specified in the configuration.
Environment
With the same configuration the import through the web interface (UMC) runs fine without any errors.
Solution
The UMC import takes the school into account and therefore does not need this value in the configuration.
The command line import does not know the scholl by default and therefore complains about the missing school
As a workaround you want to pass the "-s " parameter to the importer.
Note: Web-Import and command line import are acting at least partially different. The configurations can not be used for both.