Porteus-v5.01 bug reports

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Porteus-v5.01 bug reports

Post#106 by Rava » 07 Nov 2023, 19:17

beny wrote:
07 Nov 2023, 19:10
hi i have installed one build in current and i can confirm the dark mode work well
How did you install it?
via https://download.onlyoffice.com/install ... _amd64.deb or via https://download.onlyoffice.com/install ... x86_64.rpm ?
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus-v5.01 bug reports

Post#107 by beny » 07 Nov 2023, 20:35

hi Rava, no i have used a slackbuild the package is 648 mb

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Porteus-v5.01 bug reports

Post#108 by Rava » 07 Nov 2023, 21:35

Hi beny,
beny wrote:
07 Nov 2023, 20:35
no i have used a slackbuild the package is 648 mb
Is it a slackbuild for the most recent version, aka 7.5.0?
If so, please share the slackbuild's URL. :)
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus-v5.01 bug reports

Post#109 by beny » 07 Nov 2023, 21:39


User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Porteus-v5.01 bug reports

Post#110 by Rava » 07 Nov 2023, 21:45

it says
The source code of the ONLYOFFICE Desktop Editors is available on
https://github.com/ONLYOFFICE/DesktopEditors but without a build
instruction, so this script repackages the .deb package provided
on https://www.onlyoffice.com/download-desktop.aspx and
https://github.com/onlyoffice/desktopeditors/releases
(highlighting by me)
Does that mean this slackbuild is not compiling from source but using the .deb binary package? At least that's how I read the highlighted part.

Also I did not know this part:
ONLYOFFICE Desktop Editors is an offline version (using Chromium
Embedded Framework) of the ONLYOFFICE enterprise-level online editing
suite.
That might explain why it's so sluggish.

Added in 15 minutes 9 seconds:
Downloaded it all, but the stupid slackbuild installs all into / -> meaning my / is now 100% full, the system gets unstable and the install fails. :wall: :crazy:
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus-v5.01 bug reports

Post#111 by beny » 07 Nov 2023, 22:12

hi when i have to build a kernel in porteus or porteux i use the root of the key, you can put the slackbuild here and run ,if the usb key have enough space

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Porteus-v5.01 bug reports

Post#112 by Rava » 07 Nov 2023, 22:20

beny wrote:
07 Nov 2023, 22:12
hi when i have to build a kernel in porteus or porteux i use the root of the key, you can put the slackbuild here and run ,if the usb key have enough space
I did it like so:
/mybinm is asymlink to my /Porteus_modules/5.0/ folder on one of my ESATA disks.

In the folder onlyoffice I downloaded and extracted the slackbuild and put the two debs on there as well.
Then I looked into the code of the slackbuild and started it like so:

Code: Select all

TMP=/mybinm/onlyoffice/onlyoffice-desktopeditors/ ./onlyoffice-desktopeditors.SlackBuild
but it still would try to create the onlyoffice-desktopeditors-7.5.0-x86_64-1_SBo.tgz in /tmp -> and once again fill / to 100%. I have to look more into ./onlyoffice-desktopeditors.SlackBuild to get it to build onlyoffice-desktopeditors-7.5.0-x86_64-1_SBo.tgz where I tell it to and not were it thinks is the best folder (without even checking if there is enough free space).

Added in 4 minutes 9 seconds:
Or is there a more easy way to create the package now that all is extracted and seemingly created in one folder:

Code: Select all

root@rava:/mybinm/onlyoffice/onlyoffice-desktopeditors/package-onlyoffice-desktopeditors# ls -o
total 12
drwxr-xr-x 2 root 4096 2023-11-07 23:12 install
drwxr-xr-x 3 root 4096 2023-10-18 04:02 opt
drwxr-xr-x 5 root 4096 2023-11-07 23:12 usr
Looks like the standard root folder of a Slackware package to me.
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.01 bug reports

Post#113 by ncmprhnsbl » 08 Nov 2023, 02:29

RE: onlyoffice
the build script fails because it sources the latest version(7.5.1) which has yet to release a .deb (only a mac version so far)
presumably, at some point 7.5.1 release will include a .deb, at which point the script should be fine.
if i get a chance i might tweak the script to source it's version from their website instead of github <EDIT done, should work now, as usual, mirrors will propagate later
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Blaze
DEV Team
DEV Team
Posts: 3885
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus-v5.01 bug reports

Post#114 by Blaze » 08 Nov 2023, 04:17

About OnlyOffice 7.5.1
Missing assets for the latest release (7.5.1)
https://github.com/ONLYOFFICE/DesktopEd ... ssues/1404
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Porteus-v5.01 bug reports

Post#115 by Rava » 08 Nov 2023, 06:14

ncmprhnsbl wrote:
08 Nov 2023, 02:29
RE: onlyoffice
the build script fails because it sources the latest version(7.5.1) which has yet to release a .deb (only a mac version so far)
presumably, at some point 7.5.1 release will include a .deb, at which point the script should be fine.
if i get a chance i might tweak the script to source it's version from their website instead of github <EDIT done, should work now, as usual, mirrors will propagate later
Is it possible to tell the script to use an already downloaded .deb
Like in my case, the 7.5.0 ones:

Code: Select all

root@rava:/mybinm/onlyoffice/onlyoffice-desktopeditors# ls -o *deb
-rw-r--r-- 1 guest 279643504 2023-10-19 10:50 onlyoffice-desktopeditors-help_all.deb
-rw-r--r-- 1 guest 245586576 2023-10-19 10:51 onlyoffice-desktopeditors_amd64.deb
Added in 5 minutes 2 seconds:
Not sure if I already have the updated live script, but when started in the folder with the downloaded deb's I see this glitch:

Code: Select all

root@rava:/mybinm/onlyoffice# update-onlyoffice 
 Starting checks ... 
[OK] User is root.
[OK] Distro is Porteus
[OK] libbfd was found
[OK] libbfd was found
Downloading live script ...
Downloading: update-onlyoffice-live  DONE
 x86_64 xzm module? [y/n]d ONLYOFFICE Desktop Editors 7.5.0
Not sure what the script tries to ask me?

Added in 2 minutes 11 seconds:
Also, is the script able to use a different work folder than /tmp or just outside the RAM / aufs?

Code: Select all

update-onlyoffice --help
is no help in that regard.

would e.g.

Code: Select all

TMP=/mybinm/onlyoffice/TEMP update-onlyoffice 
work?
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.01 bug reports

Post#116 by ncmprhnsbl » 08 Nov 2023, 08:26

Rava wrote:
08 Nov 2023, 06:21
Is it possible to tell the script to use an already downloaded .deb
Rava wrote:
08 Nov 2023, 06:21
Also, is the script able to use a different work folder than /tmp or just outside the RAM / aufs?
these functions have not been implemented in update-onlyoffice-live.
if you've already got a .deb, deb2xzm should do it. (though your ram deficit might also be an issue)
and if you want to use the SlackBuild, try editing it: ie. change the TMP variable directly.
Rava wrote:
07 Nov 2023, 22:24
Looks like the standard root folder of a Slackware package to me.
if this is an aborted slackbuild, it could be incomplete, otherwise it might just need to run makepkg on it, then txz2xzm (or `ROOT=<a folder> installpkg "the_package" && dir2xzm <a folder>`)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Porteus-v5.01 bug reports

Post#117 by Rava » 08 Nov 2023, 09:25

ncmprhnsbl wrote:
08 Nov 2023, 08:26
if this is an aborted slackbuild, it could be incomplete, otherwise it might just need to run makepkg on it, then txz2xzm (or `ROOT=<a folder> installpkg "the_package" && dir2xzm <a folder>`)
AFAIK it should be a complete slackbuild, but inanely huge since it contains all available languages for the program and for the help files:

Code: Select all

root@rava:/mybinm/onlyoffice# du -sm onlyoffice-desktopeditors/
1880	onlyoffice-desktopeditors/
I am sure update-onlyoffice-live would strip off a huge chunk of that approx 1,88 GB ! of data.

Since I do not pay my internet per used volume, I think I just try update-onlyoffice.
But how can I do so in using not /tmp but a local POSIX partition folder?
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.01 bug reports

Post#118 by ncmprhnsbl » 08 Nov 2023, 12:43

Rava wrote:
08 Nov 2023, 09:25
But how can I do so in using not /tmp but a local POSIX partition folder?
a quick workaround for now would be to:
1. grab update-onlyoffice-live from <porteus server>/i586/testing/live/
2. edit the TMP= line to your desired work directory
3. chmod +x it and place it in /usr/local/bin or simply `sh update-onlyoffice-live` from where-ever
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Porteus-v5.01 bug reports

Post#119 by Rava » 08 Nov 2023, 14:39

ncmprhnsbl wrote:
08 Nov 2023, 12:43
a quick workaround for now would be to:
1. grab update-onlyoffice-live from <porteus server>/i586/testing/live/
2. edit the TMP= line to your desired work directory
3. chmod +x it and place it in /usr/local/bin or simply `sh update-onlyoffice-live` from where-ever
Thanks, will do. :good:
Do I also need to edit the OUTPUT= variable?

Code: Select all

OUTPUT=${OUTPUT:-/tmp}
Added in 23 minutes 38 seconds:
I edited /1/tmp/update-onlyoffice-live but get the same errors concerning ar:

Code: Select all

root@rava:/mybinm/onlyoffice# /1/tmp/update-onlyoffice-live 
 x86_64 xzm module? [y/n]d ONLYOFFICE Desktop Editors 7.5.0

Downloading ONLYOFFICE Desktop Editors 7.5.0
ar: onlyoffice-desktopeditors_amd64.deb: No such file or directory
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
install: cannot stat '/mybinm/onlyoffice/update-onlyoffice-live/portch/package-onlyoffice-desktopeditors/opt/onlyoffice/desktopeditors/asc-de-16.png': No such file or directory
sed: can't read /mybinm/onlyoffice/update-onlyoffice-live/portch/package-onlyoffice-desktopeditors/usr/share/applications/onlyoffice-desktopeditors.desktop: No such file or directory
install: cannot stat '/mybinm/onlyoffice/update-onlyoffice-live/portch/package-onlyoffice-desktopeditors/opt/onlyoffice/desktopeditors/asc-de-24.png': No such file or directory
[…]
Also, the download of the .deb could not have been finished in a mere second.

By base script for editing was this:

Code: Select all

Index of /mirror/porteus/i586/testing/live
[ICO]	Name	Last modified	Size	Description
[PARENTDIR]	Parent Directory	 	- 	 
[ ]	update-onlyoffice-live	2023-11-08 04:02 	125K	 
from mirror http://ftpmirror1.infania.net/mirror/po ... ting/live/

Added in 2 minutes 14 seconds:
diff and md5sum of the original script:

Code: Select all

guest@rava:/1/tmp$ diff update-onlyoffice-live*
44c44
< TMPDIR=/mybinm/onlyoffice/update-onlyoffice-live/portch
---
> TMPDIR=/tmp/portch
guest@rava:/1/tmp$ md5sum update-onlyoffice-live.original
34c914d8a6c619e0c76b1411b61d3fe5  update-onlyoffice-live.original
guest@rava:/1/tmp$ 
Cheers!
Yours Rava

User avatar
Blaze
DEV Team
DEV Team
Posts: 3885
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus-v5.01 bug reports

Post#120 by Blaze » 08 Nov 2023, 15:35

Hi Rava,
I builded onlyoffice-desktopeditors-7.5.0-x86_64-en-US.xzm only for English locale.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Post Reply