Closed marxistvegan closed 4 years ago
Did you upgrade from UI?
You still have old version somehow:
platform 200225190 200225190 stable syncloud base
At this point you have new config and old code, which probably we should fix. As a workaround try reinstalling.
snap remove platform
snap install platform
Then you will have to activate your device again.
Yeah the previous steps were upgrading from the UI. The process went unresponsive for a lengthy period of time, I tried loading the domain and it failed, so I ssh'd in and rebooted, upon reboots nginx still was not running, so I went into snap to see if I could find an issue and I saw the upgrade did not happen but I also had no running platform.
That all being said, you suggestion worked! We are back up and running.
Update seemed to have run but now not able to start platform.
`root@syncloud:~# snap list Name Version Rev Tracking Developer Notes nextcloud 200228131 200228131 stable syncloud - pihole 191023246 191023246 stable syncloud - platform 200225190 200225190 stable syncloud base users 20011159 20011159 stable syncloud - root@syncloud:~# snap restart platform error: cannot perform the following tasks:
`root@syncloud:~# snap refresh platform error: cannot perform the following tasks:
Run pre-refresh hook of "platform" snap if present (run hook "pre-refresh":
Traceback (most recent call last): File "/snap/platform/200225190/meta/hooks/pre-refresh", line 5, in
PlatformInstaller().pre_refresh()
File "/snap/platform/current/python/lib/python2.7/site-packages/syncloud_platform-200225190-py2.7.egg/syncloud_platform/installer.py", line 77, in pre_refresh
File "/snap/platform/current/python/lib/python2.7/site-packages/syncloud_platform-200225190-py2.7.egg/syncloud_platform/injector.py", line 43, in get_injector
File "/snap/platform/current/python/lib/python2.7/site-packages/syncloud_platform-200225190-py2.7.egg/syncloud_platform/injector.py", line 87, in init
File "/snap/platform/current/python/lib/python2.7/site-packages/syncloud_platform-200225190-py2.7.egg/syncloud_platform/rest/facade/internal.py", line 8, in init
File "/snap/platform/current/python/lib/python2.7/site-packages/syncloud_platform-200225190-py2.7.egg/syncloud_platform/config/config.py", line 48, in www_root_internal
File "/snap/platform/current/python/lib/python2.7/site-packages/syncloud_platform-200225190-py2.7.egg/syncloud_platform/config/config.py", line 150, in __get
File "/snap/platform/current/python/lib/python2.7/ConfigParser.py", line 618, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'www_root_internal' in section: 'platform'
-----)
root@syncloud:~#
`