Hi, at the end, I had to format the SDD I have atached to my Raspberry…
So, I formated it, writed a new image with 64 bit and begined again…
All seems to work welll… no need any SD, the Raspberry booted directcly with the 500 Gb SDD…
But the problem is that I cant not “expand” my Disk. I have no option in “Settings/Internal Memory”:
But the result is this:
root@syncloud:~# snap install nextcloud_621_$(dpkg --print-architecture).snap --devmode
error: cannot perform the following tasks:
Run configure hook of “nextcloud” snap if present (run hook “configure”:
2022-12-18 09:36:14,745 - database - INFO - postgres executing: snap run nextcloud.psql -U nextcloud -d postgres -c “ALTER USER nextcloud WITH PASSWORD ‘nextcloud’;”
2022-12-18 09:36:15,214 - database - INFO - ALTER ROLE
2022-12-18 09:36:24,748 - nextcloud_occ - ERROR - occ error: Username is invalid because files already exist for this user
Traceback (most recent call last):
File “/snap/nextcloud/x1/meta/hooks/configure”, line 7, in
Installer().configure()
File “/snap/nextcloud/x1/hooks/installer.py”, line 107, in configure
self.initialize()
File “/snap/nextcloud/x1/hooks/installer.py”, line 195, in initialize
self.occ.run(‘maintenance:install --database pgsql --database-host {0}:{1}’
File “/snap/nextcloud/x1/hooks/octools.py”, line 19, in run
raise e
File “/snap/nextcloud/x1/hooks/octools.py”, line 13, in run
output = check_output(‘{0} {1}’.format(self.occ_runner_path, args), shell=True).decode().strip()
File “/snap/nextcloud/current/python/usr/local/lib/python3.8/subprocess.py”, line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File “/snap/nextcloud/current/python/usr/local/lib/python3.8/subprocess.py”, line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘/snap/nextcloud/current/bin/occ-runner maintenance:install --database pgsql --database-host /var/snap/nextcloud/current/database:5436 --database-name nextcloud --database-user nextcloud --database-pass nextcloud --admin-user installer --admin-pass 8edb51e15b044dbab4f3a8bf117fbd56 --data-dir /opt/disk/internal/nextcloud’ returned non-zero exit status 1.
-----)
I tried to delete users with users app… and I made an “activation” again…
But no way…
root@syncloud:~# snap install nextcloud_631_$(dpkg --print-architecture).snap --devmode
error: cannot perform the following tasks:
Run configure hook of “nextcloud” snap if present (run hook “configure”:
2022-12-18 10:34:16,246 - database - INFO - postgres executing: snap run nextcloud.psql -U nextcloud -d postgres -c “ALTER USER nextcloud WITH PASSWORD ‘nextcloud’;”
2022-12-18 10:34:16,700 - database - INFO - ALTER ROLE
2022-12-18 10:34:26,636 - nextcloud_occ - ERROR - occ error: Username is invalid because files already exist for this user
Traceback (most recent call last):
File “/snap/nextcloud/631/meta/hooks/configure”, line 7, in
Installer().configure()
File “/snap/nextcloud/631/hooks/installer.py”, line 107, in configure
self.initialize()
File “/snap/nextcloud/631/hooks/installer.py”, line 195, in initialize
self.occ.run(‘maintenance:install --database pgsql --database-host {0}:{1}’
File “/snap/nextcloud/631/hooks/octools.py”, line 19, in run
raise e
File “/snap/nextcloud/631/hooks/octools.py”, line 13, in run
output = check_output(‘{0} {1}’.format(self.occ_runner_path, args), shell=True).decode().strip()
File “/snap/nextcloud/current/python/usr/local/lib/python3.8/subprocess.py”, line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File “/snap/nextcloud/current/python/usr/local/lib/python3.8/subprocess.py”, line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘/snap/nextcloud/current/bin/occ-runner maintenance:install --database pgsql --database-host /var/snap/nextcloud/current/database:5436 --database-name nextcloud --database-user nextcloud --database-pass nextcloud --admin-user installer --admin-pass 1a4e057cdbd64577a4acfc5591fb32e6 --data-dir /opt/disk/internal/nextcloud’ returned non-zero exit status 1.
-----)