New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zeronet proxy update #824

Closed
nqzhang opened this Issue Feb 10, 2017 · 7 comments

Comments

Projects
None yet
2 participants
@nqzhang

nqzhang commented Feb 10, 2017

how to update a zeronet proxy
the update function was disabled in the ui

@HelloZeroNet

This comment has been minimized.

Show comment
Hide comment
@HelloZeroNet

HelloZeroNet Feb 10, 2017

Owner

the easiest way currently is:
stop it, run python update.py, start again

Owner

HelloZeroNet commented Feb 10, 2017

the easiest way currently is:
stop it, run python update.py, start again

@nqzhang

This comment has been minimized.

Show comment
Hide comment
@nqzhang

nqzhang Feb 10, 2017

python update.py
usage: update.py [-h] [--verbose] [--debug] [--debug_socket] [--debug_gevent]
[--batch] [--config_file path] [--data_dir path]
[--log_dir path] [--language language] [--ui_ip ip]
[--ui_port port] [--ui_restrict [ip [ip ...]]]
[--open_browser [browser_name]] [--homepage address]
[--updatesite address] [--size_limit size]
[--connected_limit connected_limit] [--fileserver_ip ip]
[--fileserver_port port] [--disable_udp] [--proxy ip:port]
[--ip_external ip]
[--trackers [protocol://address [protocol://address ...]]]
[--trackers_file path] [--use_openssl {True,False}]
[--disable_db] [--disable_encryption]
[--disable_sslcompression {True,False}] [--keep_ssl_cert]
[--max_files_opened limit] [--use_tempfiles {True,False}]
[--stream_downloads {True,False}]
[--msgpack_purepython {True,False}]
[--fix_float_decimals {True,False}]
[--coffeescript_compiler executable_path]
[--tor {disable,enable,always}] [--tor_controller ip:port]
[--tor_proxy ip:port] [--tor_password password] [--version]

             {main,siteCreate,siteNeedFile,siteDownload,siteSign,sitePublish,siteVerify,dbRebuild,dbQuery,peerPing,peerGetFile,peerCmd,cryptSign}
             ...

update.py: error: unrecognized arguments: --optional_limit 10%

nqzhang commented Feb 10, 2017

python update.py
usage: update.py [-h] [--verbose] [--debug] [--debug_socket] [--debug_gevent]
[--batch] [--config_file path] [--data_dir path]
[--log_dir path] [--language language] [--ui_ip ip]
[--ui_port port] [--ui_restrict [ip [ip ...]]]
[--open_browser [browser_name]] [--homepage address]
[--updatesite address] [--size_limit size]
[--connected_limit connected_limit] [--fileserver_ip ip]
[--fileserver_port port] [--disable_udp] [--proxy ip:port]
[--ip_external ip]
[--trackers [protocol://address [protocol://address ...]]]
[--trackers_file path] [--use_openssl {True,False}]
[--disable_db] [--disable_encryption]
[--disable_sslcompression {True,False}] [--keep_ssl_cert]
[--max_files_opened limit] [--use_tempfiles {True,False}]
[--stream_downloads {True,False}]
[--msgpack_purepython {True,False}]
[--fix_float_decimals {True,False}]
[--coffeescript_compiler executable_path]
[--tor {disable,enable,always}] [--tor_controller ip:port]
[--tor_proxy ip:port] [--tor_password password] [--version]

             {main,siteCreate,siteNeedFile,siteDownload,siteSign,sitePublish,siteVerify,dbRebuild,dbQuery,peerPing,peerGetFile,peerCmd,cryptSign}
             ...

update.py: error: unrecognized arguments: --optional_limit 10%

@HelloZeroNet HelloZeroNet reopened this Feb 11, 2017

@HelloZeroNet

This comment has been minimized.

Show comment
Hide comment
@HelloZeroNet

HelloZeroNet Feb 11, 2017

Owner

Then you have:

  • disable the Multiuser plugin
  • start it
  • update using the menu
  • stop
  • enable Multiuser plugin again
  • start again

I will fix standalone update.py running and add a simpler method to update the proxy

Owner

HelloZeroNet commented Feb 11, 2017

Then you have:

  • disable the Multiuser plugin
  • start it
  • update using the menu
  • stop
  • enable Multiuser plugin again
  • start again

I will fix standalone update.py running and add a simpler method to update the proxy

@nqzhang

This comment has been minimized.

Show comment
Hide comment
@nqzhang

nqzhang Feb 11, 2017

ok ,thanks for your respons
I'll try this now

nqzhang commented Feb 11, 2017

ok ,thanks for your respons
I'll try this now

@nqzhang

This comment has been minimized.

Show comment
Hide comment
@nqzhang

nqzhang commented Feb 11, 2017

it works

@nqzhang nqzhang closed this Feb 11, 2017

@HelloZeroNet

This comment has been minimized.

Show comment
Hide comment
@HelloZeroNet

HelloZeroNet Feb 11, 2017

Owner

I just made it easy: From Rev1892 if you login with any user's master_seed from data/users.json, then you will have no restriction. So you can delete sites, update zeronet, etc.

It also have security enhancements, so the update is recommended.

Other modification is if you enable --multiuser_no_new_sites, then normal users will not able to add new sites (users in data/users.json still can)

Owner

HelloZeroNet commented Feb 11, 2017

I just made it easy: From Rev1892 if you login with any user's master_seed from data/users.json, then you will have no restriction. So you can delete sites, update zeronet, etc.

It also have security enhancements, so the update is recommended.

Other modification is if you enable --multiuser_no_new_sites, then normal users will not able to add new sites (users in data/users.json still can)

@nqzhang

This comment has been minimized.

Show comment
Hide comment
@nqzhang

nqzhang Feb 11, 2017

Thanks for your hard work

nqzhang commented Feb 11, 2017

Thanks for your hard work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment