Skip to content
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

manuall update? #72

Closed
rocky-III opened this issue May 13, 2021 · 27 comments
Closed

manuall update? #72

rocky-III opened this issue May 13, 2021 · 27 comments

Comments

@rocky-III
Copy link
Contributor

is there a way to update HZ manually by uploading the new files from https://framagit.org/hubzilla/core by FTP to our YH server? Which files have to be edited?

@anmol26s can you teach us?

@anmol26s
Copy link
Contributor

Yes this can be achieved.
It would be great if you can explain what you want do? And why its necessary?

@rocky-III
Copy link
Contributor Author

thanks @anmol26s - ,
i was wondering if it would work to update an existing YH Hubzilla installation by uploading all files from https://framagit.org/hubzilla/core by ftp to /var/www/hubzilla/ and saving the old configuration file .htconfig.php

@rocky-III
Copy link
Contributor Author

rocky-III commented May 23, 2021

that way the HZ installation would be always up to date

@anmol26s
Copy link
Contributor

I have made the current Yunohost Hubzilla package use git. What this means that the new installation would use the default git repo to update rather then waiting for the package to be updated. So every time new updates comes one can force update the yunohost Hubzilla package to get to the latest update or wait for the Yunohost package to be updated. The former gives advantage to upgrade as soon as new upgrade comes and makes a backup of your Hubzilla, in case something breaks one can always restore.
I did implemented this recently. So the new installations would be able to take advantage of it. But the older user would not take advantage of this because earlier git was not used so it would require to update from the source. So for example you are old user of Hubzilla. It would require you do manually or wait for Yunohost Hubzilla package to be upgraded.

But if you want to adventurous you can try, to backup your folders and database manually then install Hubzilla Yunohost and restore the folders and database. And if everything works you will be able to take advantage of the git feature.

@rocky-III
Copy link
Contributor Author

Thanks
so what exactly do you mean by "backup your folders and database manually"?
if I backup with phpmyadmin the HZ database which folders are left to backup?

if i use git later -and make manual a backup of the HZ installation by the YH web interface before the update is done - i´m save also right?

@anmol26s
Copy link
Contributor

anmol26s commented May 23, 2021

if i use git later -and make manual a backup of the HZ installation by the YH web interface before the update is done - i´m save also right?
Yes, and even while force install a backup would be taken. But manual backups at regular intervals is a good practice. I realized this after I accidentally lost the my Hub due mysql crash. And did not had any recent backup of of my hub. So I had to restore from 2 year old backup. I lost my post for these two years.

So lets do this.
Preparation part.

  1. Backup your Hubzilla with normal Yunohost way (either by web interface or by command line).
    Command to backup:
    $ yunohost backup create --app hubzilla --name hubzilla_backup --method copy

  2. Now manually copy files and backup database.
    Copy files:

    $ cp -a /var/www/hubzilla /var/www/hubzilla_backup

    Backup database.
    $ sudo mysqldump -u root hubzilla > /root/hubzilla_backup.sql

  3. I think this would be all required for the backup part. Now lets try to remove Hubzilla. Double check the Yunohost backup is created and there is a folder hubzilla_backup in /var/www/. You can loose data with if you don't have the backup, so be careful.

    $ yunohost app remove --debug hubzilla
    Your Hubzilla instance will be gone.

New install and backup part.

  1. Now install a new instance of Hubzilla. Do this on the same domain. You can not change the domain.
    $ yunohost app install --debug https://github.com/YunoHost-Apps/hubzilla_ynh
    There would be new Hub now.

  2. Now we need to empty database. You can do this by phpmyadmin. It would be easier that way. Manual way would require to get to mysql cmd.

    $ mysql -u root
    $ DROP DATABASE hubzilla

  3. Now restore your database which you backup before.
    $ sudo mysql -u root hubzilla < /root/hubzilla_backup.sql

  4. Copy files and folders from old Hubzilla folder to new one.
    $ cp -a /var/www/hubzilla_backup/store /var/www/hubzilla/
    $ cp -a /var/www/hubzilla_backup/.htconfig.php /var/www/hubzilla/
    $ cp -a /var/www/hubzilla_backup/php.log /var/www/hubzilla/

  5. Give proper rights to the folders.
    $ chmod -R 777 /var/www/hubzilla/store

  6. Giver proper permission to the Hubzilla.
    $ chown -R hubzilla:hubzilla /var/www/hubzilla

This should be it. If every thing works you should have your hub back.

Now to test if git works for you. Current version of Hubzilla would show your 5.4 because I have not yet pushed the PR with 5.6. So now try to force upgrade to see if you can come from 5.4 to 5.6.

  1. Again do a backup as done in point no. 1. Give a different name to the backup. And do force upgrade.
    $ yunohost app upgrade -u https://github.com/YunoHost-Apps/hubzilla_ynh hubzilla --force

That it, if everything went good. You will be having Hubzilla updated to version 5.6 without having the to wait for the the 5.6 PR to be merged to main Yunohost Hubzilla.
Try the Hub for few days, after which you can safely remove the backup folder in /var/www/.

$ rm -rf /var/www/hubzilla_backup

@rocky-III
Copy link
Contributor Author

rocky-III commented May 25, 2021

THANKS - this is wonderful and exactly the information i was looking for.

Maybe not close this "Issue" because it is useful for others also... or add your infos to the wiki?

@anmol26s
Copy link
Contributor

Yes you can share this on wiki or Hubzilla forum. But someone has to test it first

@rocky-III
Copy link
Contributor Author

OK - I will do the Test when I´m well-rested and wen I have an evening with enough fee spare time - I will report

@rocky-III
Copy link
Contributor Author

@anmol26s

today NOW finally I tried the hack...

did all with sudo su and worked but at the end the HUB is down and just gives me:

Apologies but this site is unavailable at the moment. Please try again later.

What could I try now??

@anmol26s
Copy link
Contributor

Please show the php logs.
$ tail -n 100 /var/www/hubzilla/php.log

@rocky-III
Copy link
Contributor Author

THANKS @anmol26s
I will try again and than set you also the log here

@rocky-III
Copy link
Contributor Author

rocky-III commented Sep 14, 2021

@anmol26s

I tried again and did check after every step this time

so this is what i had to do to make the hack work for me:

I deleted the databases by phpmyadmin

After the restore of the database
I copied the new htconfig.php as "htconfig.php-new"
and after
cp -a /var/www/hubzilla_backup/.htconfig.php /var/www/hubzilla/
i pasted the new db password from "htconfig.php-new" to the old htconfig.php in $db_pass =

at the end i had to do
chmod -R 755 /var/www/hubzilla/ ( is this OK??)
and again
chmod -R 777 /var/www/hubzilla/store

and now it seams to work...

@rocky-III
Copy link
Contributor Author

I have a serious problem with the hub. like said i had to use the new db password... otherwise i get

Apologies but this site is unavailable at the moment. Please try again later.

The Site is up - BUT i cant sent and receive messages from and to the Hubzilla Network. Messages to and from AP Contacts work... If I sent a message from a different hub to mine i don't´see anything in the delivery report..
if i sent a message to a contact in the HZ Network i see in the delivery report the note "sender unknown"

@anmol26s do you have time to help? I will go back to the backup if you don´t respond

@rocky-III
Copy link
Contributor Author

if i use the old .htconfig.php an old db password tail -n 100 /var/www/hubzilla/php.log gives me this:

tail -n 100 /var/www/hubzilla/php.log                                                     
[15-Sep-2021 01:06:14 Europe/Berlin] PHP Warning:  fopen(store/rockyiii/7cbafb10-cf5c-47ea-98f4-4cb83de
6ee60/cf48c442-d3e7-4982-9abd-b09798f32b9e-1): failed to open stream: No such file or directory in /var
/www/hubzilla/Zotlabs/Module/Photo.php on line 287                                                     
[15-Sep-2021 01:33:10 Europe/Berlin] PHP Warning:  getimagesize(https://addons.cdn.mozilla.net/user-med
ia/previews/full/216/216908.png?modified=1553675765): failed to open stream: HTTP request failed! HTTP/
1.1 404 Not Found                                                                                      
 in /var/www/hubzilla/include/photo/photo_driver.php on line 139                                       
[15-Sep-2021 01:34:09 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 01:34:09 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/d/4d279f2e-b45f-4d33-86
a7-e5e2999c4247-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 05:19:15 Europe/Berlin] PHP Warning:  getimagesize(https://addons.cdn.mozilla.net/user-med
ia/previews/full/216/216908.png?modified=1553675765): failed to open stream: HTTP request failed! HTTP/
1.1 404 Not Found                                                                                      
 in /var/www/hubzilla/include/photo/photo_driver.php on line 139                                       
[15-Sep-2021 06:06:33 Europe/Berlin] PHP Warning:  getimagesize(https://img.ardmediathek.de/standard/00
/55/92/84/50/2121327408/1x1/1280?mandant=ard): failed to open stream: HTTP request failed! HTTP/1.0 404
 Not Found                                                                                             
 in /var/www/hubzilla/include/photo/photo_driver.php on line 139                                       
[15-Sep-2021 08:06:56 Europe/Berlin] PHP Warning:  getimagesize(https://addons.cdn.mozilla.net/user-med
ia/previews/full/216/216908.png?modified=1553675765): failed to open stream: HTTP request failed! HTTP/
1.1 404 Not Found                                                                                      
 in /var/www/hubzilla/include/photo/photo_driver.php on line 139                                       
[15-Sep-2021 08:22:57 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:22:59 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:23:17 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/8/e/8e28897dea6447c805f4b
9237051a1f1-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Module/Ph
oto.php on line 287                                                                                    
[15-Sep-2021 08:23:58 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/9/e/9e41293c-2644-4050-82
30-c692a3c846f4-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:24:11 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/8/7/876377c1f9fe7cb8c7e66
c18cb5f699f-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Module/Ph
oto.php on line 287                                                                                    
[15-Sep-2021 08:24:12 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/0/403a3b9b3757c7d4d6d94
f5787637f95-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Module/Ph
oto.php on line 287                                                                                    
[15-Sep-2021 08:24:50 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:24:50 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:25:10 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a9525ed-9001-4e31-83
55-e9bc792c3487-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:26:47 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:26:48 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:26:59 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/8/e/8e28897dea6447c805f4b
9237051a1f1-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Module/Ph
oto.php on line 287                                                                                    
[15-Sep-2021 08:27:05 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/9/e/9e41293c-2644-4050-82
30-c692a3c846f4-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:27:11 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/0/403a3b9b3757c7d4d6d94
f5787637f95-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Module/Ph
oto.php on line 287                                                                                    
[15-Sep-2021 08:27:12 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/8/7/876377c1f9fe7cb8c7e66
c18cb5f699f-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Module/Ph
oto.php on line 287                                                                                    
[15-Sep-2021 08:31:27 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:38:15 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:39:35 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a9525ed-9001-4e31-83
55-e9bc792c3487-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:41:38 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:41:51 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:42:39 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:42:43 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 08:42:45 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:42:46 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 08:42:46 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 08:42:57 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/2/3/232ccf59-5289-4e3a-8f
83-73bba0d662e0-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:42:57 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:43:17 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:55:27 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/4/44035642-d25d-41ec-b0
ff-abeeb5f5b35b-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:55:27 Europe/Berlin] PHP Warning:  fopen(store/rockyiii/7cbafb10-cf5c-47ea-98f4-4cb83de
6ee60/a8135c59-abf9-44eb-afd2-05fd9f8f929b-1): failed to open stream: No such file or directory in /var
/www/hubzilla/Zotlabs/Module/Photo.php on line 287                                                     
[15-Sep-2021 08:55:28 Europe/Berlin] PHP Warning:  fopen(store/rockyiii/7cbafb10-cf5c-47ea-98f4-4cb83de
6ee60/1727adf8-4a42-4dc0-aac3-159b9fbc6f4a-1): failed to open stream: No such file or directory in /var
/www/hubzilla/Zotlabs/Module/Photo.php on line 287                                                     
[15-Sep-2021 08:57:13 Europe/Berlin] PHP Warning:  fopen(store/rockyiii/7cbafb10-cf5c-47ea-98f4-4cb83de
6ee60/1727adf8-4a42-4dc0-aac3-159b9fbc6f4a-1): failed to open stream: No such file or directory in /var
/www/hubzilla/Zotlabs/Module/Photo.php on line 287                                                     
[15-Sep-2021 08:57:13 Europe/Berlin] PHP Warning:  fopen(store/rockyiii/7cbafb10-cf5c-47ea-98f4-4cb83de
6ee60/a8135c59-abf9-44eb-afd2-05fd9f8f929b-1): failed to open stream: No such file or directory in /var
/www/hubzilla/Zotlabs/Module/Photo.php on line 287                                                     
[15-Sep-2021 09:03:04 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:03:05 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:06:07 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:06:08 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:07:17 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 09:07:17 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 09:07:17 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 09:12:19 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:12:20 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:12:22 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:12:59 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:13:00 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:13:01 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:13:46 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/2/3/232ccf59-5289-4e3a-8f
83-73bba0d662e0-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:13:46 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:13:46 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:14:05 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 09:14:05 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 09:14:05 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 09:14:07 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:14:07 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/2/3/232ccf59-5289-4e3a-8f
83-73bba0d662e0-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:14:08 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:16:16 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:23:10 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:34:51 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:34:52 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:35:54 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:35:54 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:35:56 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287 

@rocky-III
Copy link
Contributor Author

if i use the old .htconfig.php with the NEU db password tail -n 100 /var/www/hubzilla/php.log gives me this:

$ tail -n 100 /var/www/hubzilla/php.log                                                      
[15-Sep-2021 01:06:14 Europe/Berlin] PHP Warning:  fopen(store/rockyiii/7cbafb10-cf5c-47ea-98f4-4cb83de
6ee60/cf48c442-d3e7-4982-9abd-b09798f32b9e-1): failed to open stream: No such file or directory in /var
/www/hubzilla/Zotlabs/Module/Photo.php on line 287                                                     
[15-Sep-2021 01:33:10 Europe/Berlin] PHP Warning:  getimagesize(https://addons.cdn.mozilla.net/user-med
ia/previews/full/216/216908.png?modified=1553675765): failed to open stream: HTTP request failed! HTTP/
1.1 404 Not Found                                                                                      
 in /var/www/hubzilla/include/photo/photo_driver.php on line 139                                       
[15-Sep-2021 01:34:09 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 01:34:09 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/d/4d279f2e-b45f-4d33-86
a7-e5e2999c4247-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 05:19:15 Europe/Berlin] PHP Warning:  getimagesize(https://addons.cdn.mozilla.net/user-med
ia/previews/full/216/216908.png?modified=1553675765): failed to open stream: HTTP request failed! HTTP/
1.1 404 Not Found                                                                                      
 in /var/www/hubzilla/include/photo/photo_driver.php on line 139                                       
[15-Sep-2021 06:06:33 Europe/Berlin] PHP Warning:  getimagesize(https://img.ardmediathek.de/standard/00
/55/92/84/50/2121327408/1x1/1280?mandant=ard): failed to open stream: HTTP request failed! HTTP/1.0 404
 Not Found                                                                                             
 in /var/www/hubzilla/include/photo/photo_driver.php on line 139                                       
[15-Sep-2021 08:06:56 Europe/Berlin] PHP Warning:  getimagesize(https://addons.cdn.mozilla.net/user-med
ia/previews/full/216/216908.png?modified=1553675765): failed to open stream: HTTP request failed! HTTP/
1.1 404 Not Found                                                                                      
 in /var/www/hubzilla/include/photo/photo_driver.php on line 139                                       
[15-Sep-2021 08:22:57 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:22:59 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:23:17 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/8/e/8e28897dea6447c805f4b
9237051a1f1-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Module/Ph
oto.php on line 287                                                                                    
[15-Sep-2021 08:23:58 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/9/e/9e41293c-2644-4050-82
30-c692a3c846f4-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:24:11 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/8/7/876377c1f9fe7cb8c7e66
c18cb5f699f-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Module/Ph
oto.php on line 287                                                                                    
[15-Sep-2021 08:24:12 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/0/403a3b9b3757c7d4d6d94
f5787637f95-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Module/Ph
oto.php on line 287                                                                                    
[15-Sep-2021 08:24:50 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:24:50 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:25:10 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a9525ed-9001-4e31-83
55-e9bc792c3487-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:26:47 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:26:48 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:26:59 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/8/e/8e28897dea6447c805f4b
9237051a1f1-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Module/Ph
oto.php on line 287                                                                                    
[15-Sep-2021 08:27:05 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/9/e/9e41293c-2644-4050-82
30-c692a3c846f4-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:27:11 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/0/403a3b9b3757c7d4d6d94
f5787637f95-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Module/Ph
oto.php on line 287                                                                                    
[15-Sep-2021 08:27:12 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/8/7/876377c1f9fe7cb8c7e66
c18cb5f699f-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Module/Ph
oto.php on line 287                                                                                    
[15-Sep-2021 08:31:27 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:38:15 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:39:35 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a9525ed-9001-4e31-83
55-e9bc792c3487-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:41:38 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:41:51 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:42:39 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:42:43 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 08:42:45 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:42:46 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 08:42:46 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 08:42:57 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/2/3/232ccf59-5289-4e3a-8f
83-73bba0d662e0-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:42:57 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:43:17 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:55:27 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/4/44035642-d25d-41ec-b0
ff-abeeb5f5b35b-5): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 08:55:27 Europe/Berlin] PHP Warning:  fopen(store/rockyiii/7cbafb10-cf5c-47ea-98f4-4cb83de
6ee60/a8135c59-abf9-44eb-afd2-05fd9f8f929b-1): failed to open stream: No such file or directory in /var
/www/hubzilla/Zotlabs/Module/Photo.php on line 287                                                     
[15-Sep-2021 08:55:28 Europe/Berlin] PHP Warning:  fopen(store/rockyiii/7cbafb10-cf5c-47ea-98f4-4cb83de
6ee60/1727adf8-4a42-4dc0-aac3-159b9fbc6f4a-1): failed to open stream: No such file or directory in /var
/www/hubzilla/Zotlabs/Module/Photo.php on line 287                                                     
[15-Sep-2021 08:57:13 Europe/Berlin] PHP Warning:  fopen(store/rockyiii/7cbafb10-cf5c-47ea-98f4-4cb83de
6ee60/1727adf8-4a42-4dc0-aac3-159b9fbc6f4a-1): failed to open stream: No such file or directory in /var
/www/hubzilla/Zotlabs/Module/Photo.php on line 287                                                     
[15-Sep-2021 08:57:13 Europe/Berlin] PHP Warning:  fopen(store/rockyiii/7cbafb10-cf5c-47ea-98f4-4cb83de
6ee60/a8135c59-abf9-44eb-afd2-05fd9f8f929b-1): failed to open stream: No such file or directory in /var
/www/hubzilla/Zotlabs/Module/Photo.php on line 287                                                     
[15-Sep-2021 09:03:04 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:03:05 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:06:07 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:06:08 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:07:17 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 09:07:17 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 09:07:17 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 09:12:19 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:12:20 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:12:22 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:12:59 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:13:00 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:13:01 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:13:46 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/2/3/232ccf59-5289-4e3a-8f
83-73bba0d662e0-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:13:46 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:13:46 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:14:05 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 09:14:05 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 09:14:05 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /var/www/
hubzilla/include/text.php on line 2589                                                                 
[15-Sep-2021 09:14:07 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:14:07 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/2/3/232ccf59-5289-4e3a-8f
83-73bba0d662e0-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:14:08 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:16:16 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:23:10 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/e/b/eb3b8952-d189-4df0-b9
4f-eb6eac83e16a-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:34:51 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:34:52 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:35:54 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:35:54 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 09:35:56 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/4/a/4a05cb6d-c60b-47da-83
0d-3f361391a9ca-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                
[15-Sep-2021 10:01:25 Europe/Berlin] PHP Warning:  fopen(store/[data]/[xchan]/a/b/ab09c22a-4e36-4e22-88
ac-c5477c49cc32-6): failed to open stream: No such file or directory in /var/www/hubzilla/Zotlabs/Modul
e/Photo.php on line 287                                                                                

@rocky-III
Copy link
Contributor Author

@anmol26s my old hub still cant´t be updated by git... I tried you instruction two times now and it did not work...
Do you have an other idea how i could update my hub so that is works with git?
THANKS

@sthaydn
Copy link

sthaydn commented Mar 30, 2022

Have you tried via "util/udall"? I am asking this here:
#84

I think @anmol26s once told me that this should work, but can't quite remember.

@sthaydn
Copy link

sthaydn commented Mar 30, 2022

Please see:
#84 (comment)

@rocky-III
Copy link
Contributor Author

with Hubzilla YH installations above 5.something you can manual upgrades fine with:

$ yunohost app upgrade -u https://github.com/YunoHost-Apps/hubzilla_ynh hubzilla --force

unfortunately with older Hubzilla YH installations this does not work... @anmol26s implemented this git upgrade option just later - and if the your installation does not have is option you have to try to uninstall and install a newer Hubzilla YH version but save and import the old database... somehow this does not work on my hub.

@sthaydn
Copy link

sthaydn commented Mar 30, 2022

Oh, there is the explanation. Thanks for that!

@sthaydn
Copy link

sthaydn commented Mar 30, 2022

I have tried it and got:
Warning: ERROR 1060 (42S21) at line 1: Duplicate column name 'updated' Warning: [Error] Upgrade failed. Warning: /etc/kernel/postrm.d/initramfs-tools: Warning: update-initramfs: Deleting /boot/initrd.img-4.19.0-17-amd64 Warning: /etc/kernel/postrm.d/zz-update-grub: Warning: Generating grub configuration file ... Warning: Found linux image: /boot/vmlinuz-4.19.0-20-amd64 Warning: Found initrd image: /boot/initrd.img-4.19.0-20-amd64 Warning: Found linux image: /boot/vmlinuz-4.19.0-19-amd64 Warning: Found initrd image: /boot/initrd.img-4.19.0-19-amd64 Warning: Found linux image: /boot/vmlinuz-4.19.0-18-amd64 Warning: Found initrd image: /boot/initrd.img-4.19.0-18-amd64 Warning: done Warning: userdel: user hubzilla is currently used by process 18933 Warning: /usr/sbin/deluser: /sbin/userdel hubzilla' returned error code 8. Exiting.
Warning: /usr/sbin/delgroup: hubzilla' still has hubzilla' as their primary group!
Warning: The app was restored to the way it was before the failed upgrade.
Error: Could not upgrade hubzilla: An error occurred inside the app upgrade script`

Maybe it could be that the version is already updated? Will try it with the next Version.

@sthaydn
Copy link

sthaydn commented Jun 1, 2022

Yes, I guess that was the case, see above. I was now able to upgrade to 7.4 with
sudo yunohost app upgrade hubzilla -u https://github.com/YunoHost-Apps/hubzilla_ynh/tree/testing --debug .

@yalh76 yalh76 closed this as completed Oct 16, 2022
@rocky-III
Copy link
Contributor Author

The last time I tried it did not work. @yalh76 has someone proved that it works like described? If not please reopen this issue

@sthaydn
Copy link

sthaydn commented Oct 17, 2022

The normal upgrade via GUI or via commandline does break federation for me. I can't receive or send anything. Well, I can send, but nobody receives my posts. But "util/udall" works just fine.

@rocky-III
Copy link
Contributor Author

hmm... according to the YNH Devs updates by git have been disabled on this YNH - HZ repro

@yalh76
Copy link
Member

yalh76 commented Oct 17, 2022

yes git upgrade has been remove a time ago as it can install a not tested version of hubzilla.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants