On 12/16/23 10:12 AM, Helio Loureiro wrote:
Hi,
Well... not that good. Now it is mailman3-web that doesn't work.
mailman@new-machine ~ (v3.3.9)> source venv/bin/activate.fish (venv) mailman@new-machine ~ (v3.3.9)> mailman-web
Type 'mailman-web help <subcommand>' for help on a specific subcommand.
Available subcommands:
[django] check compilemessages createcachetable dbshell diffsettings dumpdata flush inspectdb loaddata makemessages makemigrations migrate optimizemigration runserver sendtestemail shell showmigrations sqlflush sqlmigrate sqlsequencereset squashmigrations startapp startproject test testserver
This response indicates that mailman-web
is not getting settings.py.
Have you configured /etc/mailman3/settings.py? See
<https://docs.mailman3.org/en/latest/install/virtualenv.html#initial-configur...>.
(venv) mailman@new-machine ~ (v3.3.9)> mailman-web check System check identified no issues (0 silenced). (venv) mailman@new-machine ~ (v3.3.9)> mailman-web check migrate
You should run mailman-web migrate
not mailman-web check migrate
plus others. See
<https://docs.mailman3.org/en/latest/install/virtualenv.html#run-database-mig...>
et.seq. but first you need the appropriate settings so mailman-web
returns something like
$ mailman-web
Type 'mailman-web help <subcommand>' for help on a specific subcommand.
Available subcommands:
[account]
account_unsetmultipleprimaryemails
[auth]
changepassword
createsuperuser
[compressor]
compress
mtime_cache
[contenttypes]
remove_stale_contenttypes
[django]
check
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
makemigrations
migrate
optimizemigration
sendtestemail
shell
showmigrations
sqlflush
sqlmigrate
sqlsequencereset
squashmigrations
startapp
startproject
test
testserver
[django_extensions]
admin_generator
clean_pyc
clear_cache
compile_pyc
create_command
create_jobs
create_template_tags
delete_squashed_migrations
describe_form
drop_test_database
dumpscript
export_emails
find_template
generate_password
generate_secret_key
graph_models
list_model_info
list_signals
mail_debug
managestate
merge_model_instances
notes
pipchecker
print_settings
print_user_for_session
raise_test_exception
reset_db
reset_schema
runjob
runjobs
runprofileserver
runscript
runserver_plus
set_default_site
set_fake_emails
set_fake_passwords
shell_plus
show_template_tags
show_urls
sqlcreate
sqldiff
sqldsn
sync_s3
syncdata
unreferenced_files
update_permissions
validate_templates
[django_q]
qcluster
qinfo
qmemory
qmonitor
[haystack]
build_solr_schema
clear_index
haystack_info
rebuild_index
update_index
[hyperkitty]
attachments_to_file
hyperkitty_import
hyperkitty_warm_up_cache
mailman_sync
update_index_one_list
[postorius]
mmclient
reset_passwords
[rest_framework]
generateschema
[sessions]
clearsessions
[staticfiles]
collectstatic
findstatic
runserver
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan