Use Nextcloud’s occ command to unlock the admin (#1406)
This commit is contained in:
parent
7f37abca05
commit
e0d46d1eb5
1 changed files with 1 additions and 1 deletions
|
@ -20,4 +20,4 @@ echo
|
|||
echo Press enter to continue.
|
||||
read
|
||||
|
||||
sqlite3 $STORAGE_ROOT/owncloud/owncloud.db "INSERT OR IGNORE INTO oc_group_user VALUES ('admin', '$ADMIN')" && echo Done.
|
||||
sudo -u www-data php /usr/local/lib/owncloud/occ group:adduser admin $ADMIN && echo Done.
|
||||
|
|
Loading…
Reference in a new issue